| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Hydra.Cardano.Api
Description
A Haskell API for Cardano, tailored to the Hydra project.
This package provides a wrapper around the cardano-ledger, cardano-api and
plutus libraries with extra utilities and function commonly used across the
Hydra project.
NOTE: We always use the latest era available in our codebase, so to ease type
signatures and notations, we specialize any type of the cardano-api normally
parameterized by an era to the latest era Era. As a consequence, we've
defined pattern synonyms for most constructors in the cardano-api to also
get rid of era witnesses.
Synopsis
- data StandardCrypto
- type Era = AlonzoEra
- type LedgerEra = AlonzoEra StandardCrypto
- type Witness witCtx = Witness witCtx Era
- type TxScriptValidity = TxScriptValidity Era
- type TxOutDatum ctx = TxOutDatum ctx Era
- type TxOut ctx = TxOut ctx Era
- type TxMintValue build = TxMintValue build Era
- type TxMetadataInEra = TxMetadataInEra Era
- type TxInsCollateral = TxInsCollateral Era
- type TxIns build = [(TxIn, BuildTxWith build (Witness WitCtxTxIn Era))]
- type TxFee = TxFee Era
- type TxExtraKeyWitnesses = TxExtraKeyWitnesses Era
- type TxBodyScriptData = TxBodyScriptData Era
- type TxBodyContent build = TxBodyContent build Era
- type TxBody = TxBody Era
- type TxAuxScripts = TxAuxScripts Era
- type Tx = Tx Era
- type ScriptWitness witCtx = ScriptWitness witCtx Era
- type ScriptLanguage = ScriptLanguage PlutusScriptV1
- type ScriptInEra = ScriptInEra Era
- type Script = Script PlutusScriptV1
- type PlutusScript = PlutusScript PlutusScriptV1
- type KeyWitness = KeyWitness Era
- type BalancedTxBody = BalancedTxBody Era
- type AddressTypeInEra addrType = AddressTypeInEra addrType Era
- type AddressInEra = AddressInEra Era
- pattern ScriptWitness :: ScriptWitnessInCtx ctx -> ScriptWitness ctx -> Witness ctx
- pattern KeyWitness :: KeyWitnessInCtx ctx -> Witness ctx
- pattern TxScriptValidity :: ScriptValidity -> TxScriptValidity
- txScriptValidity' :: TxScriptValidity -> ScriptValidity
- pattern TxScriptValidityNone :: TxScriptValidity
- pattern TxOutDatum :: ScriptData -> TxOutDatum CtxTx
- txOutDatumScriptData :: TxOutDatum CtxTx -> ScriptData
- pattern TxOutDatumHash :: Hash ScriptData -> TxOutDatum ctx
- txOutDatumHash :: TxOutDatum ctx -> Hash ScriptData
- pattern TxOutDatumNone :: TxOutDatum ctx
- pattern TxOut :: AddressInEra -> Value -> TxOutDatum ctx -> TxOut ctx
- txOutAddress :: TxOut ctx -> AddressInEra
- txOutValue :: TxOut ctx -> Value
- txOutDatum :: TxOut ctx -> TxOutDatum ctx
- pattern TxMintValue :: Value -> BuildTxWith build (Map PolicyId (ScriptWitness WitCtxMint)) -> TxMintValue build
- txMintValueInEra :: TxMintValue build -> Value
- txMintValueScriptWitnesses :: TxMintValue build -> BuildTxWith build (Map PolicyId (ScriptWitness WitCtxMint))
- pattern TxMintValueNone :: TxMintValue build
- pattern TxMetadataInEra :: TxMetadata -> TxMetadataInEra
- txMetadataInEra :: TxMetadataInEra -> TxMetadata
- pattern TxMetadataNone :: TxMetadataInEra
- pattern TxInsCollateral :: [TxIn] -> TxInsCollateral
- txInsCollateral' :: TxInsCollateral -> [TxIn]
- pattern TxInsCollateralNone :: TxInsCollateral
- pattern TxFeeExplicit :: Lovelace -> TxFee
- txFeeExplicit :: TxFee -> Lovelace
- pattern TxExtraKeyWitnesses :: [Hash PaymentKey] -> TxExtraKeyWitnesses
- txExtraKeyWitnesses :: TxExtraKeyWitnesses -> [Hash PaymentKey]
- pattern TxExtraKeyWitnessesNone :: TxExtraKeyWitnesses
- pattern TxBodyScriptData :: TxDats (ShelleyLedgerEra Era) -> Redeemers (ShelleyLedgerEra Era) -> TxBodyScriptData
- txBodyScriptDatums :: TxBodyScriptData -> TxDats (ShelleyLedgerEra Era)
- txBodyScriptRedeemers :: TxBodyScriptData -> Redeemers (ShelleyLedgerEra Era)
- pattern TxBodyNoScriptData :: TxBodyScriptData
- pattern TxBodyContent :: TxIns build -> TxInsCollateral -> [TxOut CtxTx] -> TxFee -> (TxValidityLowerBound Era, TxValidityUpperBound Era) -> TxMetadataInEra -> TxAuxScripts -> TxExtraKeyWitnesses -> BuildTxWith build (Maybe ProtocolParameters) -> TxWithdrawals build Era -> TxCertificates build Era -> TxUpdateProposal Era -> TxMintValue build -> TxScriptValidity -> TxBodyContent build
- txIns :: TxBodyContent build -> TxIns build
- txInsCollateral :: TxBodyContent build -> TxInsCollateral
- txOuts :: TxBodyContent build -> [TxOut CtxTx]
- txFee :: TxBodyContent build -> TxFee
- txValidityRange :: TxBodyContent build -> (TxValidityLowerBound Era, TxValidityUpperBound Era)
- txMetadata :: TxBodyContent build -> TxMetadataInEra
- txAuxScripts :: TxBodyContent build -> TxAuxScripts
- txExtraKeyWits :: TxBodyContent build -> TxExtraKeyWitnesses
- txProtocolParams :: TxBodyContent build -> BuildTxWith build (Maybe ProtocolParameters)
- txWithdrawals :: TxBodyContent build -> TxWithdrawals build Era
- txCertificates :: TxBodyContent build -> TxCertificates build Era
- txUpdateProposal :: TxBodyContent build -> TxUpdateProposal Era
- txMintValue :: TxBodyContent build -> TxMintValue build
- txScriptValidity :: TxBodyContent build -> TxScriptValidity
- pattern TxBody :: TxBodyContent ViewTx -> TxBody
- txBodyContent :: TxBody -> TxBodyContent ViewTx
- pattern TxAuxScripts :: [ScriptInEra] -> TxAuxScripts
- txAuxScripts' :: TxAuxScripts -> [ScriptInEra]
- pattern TxAuxScriptsNone :: TxAuxScripts
- pattern ShelleyTxBody :: TxBody LedgerEra -> [Script LedgerEra] -> TxBodyScriptData -> Maybe (AuxiliaryData LedgerEra) -> TxScriptValidity -> TxBody
- txBodyLedgerTxBody :: TxBody -> TxBody LedgerEra
- txBodyScripts :: TxBody -> [Script LedgerEra]
- txBodyScriptData :: TxBody -> TxBodyScriptData
- txBodyAuxiliaryData :: TxBody -> Maybe (AuxiliaryData LedgerEra)
- txBodyScriptValidity :: TxBody -> TxScriptValidity
- pattern Tx :: TxBody -> [KeyWitness] -> Tx
- txBody :: Tx -> TxBody
- txKeyWitnesses :: Tx -> [KeyWitness]
- pattern PlutusScriptWitness :: PlutusScript -> ScriptDatum witctx -> ScriptRedeemer -> ExecutionUnits -> ScriptWitness witctx
- plutusScriptWitnessScript :: ScriptWitness witctx -> PlutusScript
- plutusScriptWitnessDatum :: ScriptWitness witctx -> ScriptDatum witctx
- plutusScriptWitnessRedeemer :: ScriptWitness witctx -> ScriptRedeemer
- plutusScriptWitnessExecutionUnits :: ScriptWitness witctx -> ExecutionUnits
- pattern PlutusScriptLanguage :: ScriptLanguage
- pattern PlutusScript :: PlutusScript -> Script
- plutusScript :: Script -> PlutusScript
- pattern PlutusScriptSerialised :: ShortByteString -> PlutusScript
- plutusScriptSerialised :: PlutusScript -> ShortByteString
- pattern ShelleyKeyWitness :: WitVKey 'Witness StandardCrypto -> KeyWitness
- shelleyKeyWitness :: KeyWitness -> WitVKey 'Witness StandardCrypto
- pattern ShelleyBootstrapWitness :: BootstrapWitness StandardCrypto -> KeyWitness
- shelleyBootstrapWitness :: KeyWitness -> BootstrapWitness StandardCrypto
- pattern BalancedTxBody :: TxBody -> TxOut CtxTx -> Lovelace -> BalancedTxBody
- balancedTxBody :: BalancedTxBody -> TxBody
- balancedTxChangeOutput :: BalancedTxBody -> TxOut CtxTx
- balancedTxFee :: BalancedTxBody -> Lovelace
- pattern ShelleyAddressInAnyEra :: AddressTypeInEra ShelleyAddr
- pattern ByronAddressInAnyEra :: AddressTypeInEra ByronAddr
- pattern ByronAddressInEra :: Address ByronAddr -> AddressInEra
- byronAddress :: AddressInEra -> Address ByronAddr
- pattern ShelleyAddressInEra :: Address ShelleyAddr -> AddressInEra
- address :: AddressInEra -> Address ShelleyAddr
- type UTxO = UTxO' (TxOut CtxUTxO AlonzoEra)
- newtype UTxO' out = UTxO (Map TxIn out)
- module Hydra.Cardano.Api.Witness
- module Hydra.Cardano.Api.Value
- module Hydra.Cardano.Api.UsingRawBytesHex
- module Hydra.Cardano.Api.UTxO
- module Hydra.Cardano.Api.TxScriptValidity
- module Hydra.Cardano.Api.TxOutValue
- module Hydra.Cardano.Api.TxOutDatum
- module Hydra.Cardano.Api.TxOut
- module Hydra.Cardano.Api.TxIn
- module Hydra.Cardano.Api.TxId
- module Hydra.Cardano.Api.TxBody
- module Hydra.Cardano.Api.Tx
- module Hydra.Cardano.Api.SlotNo
- module Hydra.Cardano.Api.ScriptWitnessInCtx
- module Hydra.Cardano.Api.ScriptLanguageInEra
- module Hydra.Cardano.Api.ScriptHash
- module Hydra.Cardano.Api.ScriptDatum
- module Hydra.Cardano.Api.ScriptDataSupportedInEra
- module Hydra.Cardano.Api.ScriptData
- module Hydra.Cardano.Api.PolicyId
- module Hydra.Cardano.Api.Point
- module Hydra.Cardano.Api.PlutusScriptVersion
- module Hydra.Cardano.Api.PlutusScript
- module Hydra.Cardano.Api.MultiAssetSupportedInEra
- module Hydra.Cardano.Api.Lovelace
- module Hydra.Cardano.Api.KeyWitness
- module Hydra.Cardano.Api.Hash
- module Hydra.Cardano.Api.ExecutionUnits
- module Hydra.Cardano.Api.CtxUTxO
- module Hydra.Cardano.Api.CtxTx
- module Hydra.Cardano.Api.AddressInEra
- class ToJSON a
- class FromJSON a
- class Typeable a => ToCBOR a
- class Typeable a => FromCBOR a
- anyAddressInEra :: CardanoEra era -> AddressAny -> Maybe (AddressInEra era)
- anyAddressInShelleyBasedEra :: IsShelleyBasedEra era => AddressAny -> AddressInEra era
- byronAddressInEra :: Address ByronAddr -> AddressInEra era
- isKeyAddress :: AddressInEra era -> Bool
- lexPlausibleAddressString :: Parser Text
- makeByronAddress :: NetworkId -> VerificationKey ByronKey -> Address ByronAddr
- makeByronAddressInEra :: NetworkId -> VerificationKey ByronKey -> AddressInEra era
- makeShelleyAddress :: NetworkId -> PaymentCredential -> StakeAddressReference -> Address ShelleyAddr
- makeShelleyAddressInEra :: IsShelleyBasedEra era => NetworkId -> PaymentCredential -> StakeAddressReference -> AddressInEra era
- makeStakeAddress :: NetworkId -> StakeCredential -> StakeAddress
- parseAddressAny :: Parser AddressAny
- shelleyAddressInEra :: IsShelleyBasedEra era => Address ShelleyAddr -> AddressInEra era
- toAddressAny :: Address addr -> AddressAny
- chainPointToHeaderHash :: ChainPoint -> Maybe (Hash BlockHeader)
- chainPointToSlotNo :: ChainPoint -> Maybe SlotNo
- chainTipToChainPoint :: ChainTip -> ChainPoint
- getBlockHeader :: Block era -> BlockHeader
- makeChainTip :: WithOrigin BlockNo -> ChainPoint -> ChainTip
- makeGenesisKeyDelegationCertificate :: Hash GenesisKey -> Hash GenesisDelegateKey -> Hash VrfKey -> Certificate
- makeMIRCertificate :: MIRPot -> MIRTarget -> Certificate
- makeStakeAddressDelegationCertificate :: StakeCredential -> PoolId -> Certificate
- makeStakeAddressDeregistrationCertificate :: StakeCredential -> Certificate
- makeStakeAddressRegistrationCertificate :: StakeCredential -> Certificate
- makeStakePoolRegistrationCertificate :: StakePoolParameters -> Certificate
- makeStakePoolRetirementCertificate :: PoolId -> EpochNo -> Certificate
- anyCardanoEra :: CardanoEra era -> AnyCardanoEra
- cardanoEraStyle :: CardanoEra era -> CardanoEraStyle era
- shelleyBasedToCardanoEra :: ShelleyBasedEra era -> CardanoEra era
- throwErrorAsException :: Error e => e -> IO a
- calculateMinimumUTxO :: ShelleyBasedEra era -> TxOut CtxTx era -> ProtocolParameters -> Either MinimumUTxOError Value
- estimateTransactionFee :: IsShelleyBasedEra era => NetworkId -> Natural -> Natural -> Tx era -> Int -> Int -> Int -> Int -> Lovelace
- estimateTransactionKeyWitnessCount :: TxBodyContent BuildTx era -> Word
- evaluateTransactionBalance :: IsShelleyBasedEra era => ProtocolParameters -> Set PoolId -> UTxO era -> TxBody era -> TxOutValue era
- evaluateTransactionExecutionUnits :: EraInMode era mode -> SystemStart -> EraHistory mode -> ProtocolParameters -> UTxO era -> TxBody era -> Either TransactionValidityError (Map ScriptWitnessIndex (Either ScriptExecutionError ExecutionUnits))
- evaluateTransactionFee :: IsShelleyBasedEra era => ProtocolParameters -> TxBody era -> Word -> Word -> Lovelace
- makeTransactionBodyAutoBalance :: IsShelleyBasedEra era => EraInMode era mode -> SystemStart -> EraHistory mode -> ProtocolParameters -> Set PoolId -> UTxO era -> TxBodyContent BuildTx era -> AddressInEra era -> Maybe Word -> Either TxBodyErrorAutoBalance (BalancedTxBody era)
- transactionFee :: IsShelleyBasedEra era => Natural -> Natural -> Tx era -> Lovelace
- connectToLocalNode :: LocalNodeConnectInfo mode -> LocalNodeClientProtocolsInMode mode -> IO ()
- connectToLocalNodeWithVersion :: LocalNodeConnectInfo mode -> (NodeToClientVersion -> LocalNodeClientProtocolsInMode mode) -> IO ()
- consensusModeOnly :: ConsensusModeParams mode -> ConsensusMode mode
- getLocalChainTip :: LocalNodeConnectInfo mode -> IO ChainTip
- mkLocalNodeClientParams :: ConsensusBlockForMode mode ~ block => ConsensusModeParams mode -> (NodeToClientVersion -> LocalNodeClientProtocolsInMode mode) -> LocalNodeClientParams
- queryNodeLocalState :: LocalNodeConnectInfo mode -> Maybe ChainPoint -> QueryInMode mode result -> IO (Either AcquireFailure result)
- submitTxToNodeLocal :: LocalNodeConnectInfo mode -> TxInMode mode -> IO (SubmitResult (TxValidationErrorInMode mode))
- determineEraExpr :: ConsensusModeParams mode -> LocalStateQueryExpr block point (QueryInMode mode) r IO AnyCardanoEra
- executeLocalStateQueryExpr :: LocalNodeConnectInfo mode -> Maybe ChainPoint -> (NodeToClientVersion -> LocalStateQueryExpr (BlockInMode mode) ChainPoint (QueryInMode mode) () IO a) -> IO (Either AcquireFailure a)
- queryExpr :: QueryInMode mode a -> LocalStateQueryExpr block point (QueryInMode mode) r IO a
- generateSigningKey :: Key keyrole => AsType keyrole -> IO (SigningKey keyrole)
- applyBlock :: Env -> LedgerState -> ValidationMode -> Block era -> Either LedgerStateError LedgerStateEvents
- chainSyncClientPipelinedWithLedgerState :: forall (m :: Type -> Type) a. Monad m => Env -> LedgerState -> ValidationMode -> ChainSyncClientPipelined (BlockInMode CardanoMode, Either LedgerStateError (LedgerState, [LedgerEvent])) ChainPoint ChainTip m a -> ChainSyncClientPipelined (BlockInMode CardanoMode) ChainPoint ChainTip m a
- chainSyncClientWithLedgerState :: forall (m :: Type -> Type) a. Monad m => Env -> LedgerState -> ValidationMode -> ChainSyncClient (BlockInMode CardanoMode, Either LedgerStateError (LedgerState, [LedgerEvent])) ChainPoint ChainTip m a -> ChainSyncClient (BlockInMode CardanoMode) ChainPoint ChainTip m a
- envSecurityParam :: Env -> Word64
- foldBlocks :: FilePath -> FilePath -> ValidationMode -> a -> (Env -> LedgerState -> [LedgerEvent] -> BlockInMode CardanoMode -> a -> IO a) -> ExceptT FoldBlocksError IO a
- initialLedgerState :: FilePath -> ExceptT InitialLedgerStateError IO (Env, LedgerState)
- renderFoldBlocksError :: FoldBlocksError -> Text
- renderGenesisConfigError :: GenesisConfigError -> Text
- renderInitialLedgerStateError :: InitialLedgerStateError -> Text
- renderLedgerStateError :: LedgerStateError -> Text
- renderMode :: AnyConsensusMode -> Text
- toEraInMode :: CardanoEra era -> ConsensusMode mode -> Maybe (EraInMode era mode)
- fromNetworkMagic :: NetworkMagic -> NetworkId
- toNetworkMagic :: NetworkId -> NetworkMagic
- getHotKey :: OperationalCertificate -> VerificationKey KesKey
- getKesPeriod :: OperationalCertificate -> Word
- getOpCertCount :: OperationalCertificate -> Word64
- issueOperationalCertificate :: VerificationKey KesKey -> Either (SigningKey StakePoolKey) (SigningKey GenesisDelegateExtendedKey) -> KESPeriod -> OperationalCertificateIssueCounter -> Either OperationalCertIssueError (OperationalCertificate, OperationalCertificateIssueCounter)
- fromLedgerPParams :: ShelleyBasedEra era -> PParams (ShelleyLedgerEra era) -> ProtocolParameters
- makePraosNonce :: ByteString -> PraosNonce
- makeShelleyUpdateProposal :: ProtocolParametersUpdate -> [Hash GenesisKey] -> EpochNo -> UpdateProposal
- toLedgerPParams :: ShelleyBasedEra era -> ProtocolParameters -> PParams (ShelleyLedgerEra era)
- validateCostModel :: PlutusScriptVersion lang -> CostModel -> Either InvalidCostModel ()
- getProgress :: SlotNo -> EraHistory mode -> Either PastHorizonException (RelativeTime, SlotLength)
- slotToEpoch :: SlotNo -> EraHistory mode -> Either PastHorizonException (EpochNo, SlotsInEpoch, SlotsToEpochEnd)
- adjustSimpleScriptVersion :: SimpleScriptVersion lang' -> SimpleScript lang -> Maybe (SimpleScript lang')
- eraOfScriptInEra :: ScriptInEra era -> ShelleyBasedEra era
- eraOfScriptLanguageInEra :: ScriptLanguageInEra lang era -> ShelleyBasedEra era
- examplePlutusScriptAlwaysFails :: WitCtx witctx -> PlutusScript PlutusScriptV1
- examplePlutusScriptAlwaysSucceeds :: WitCtx witctx -> PlutusScript PlutusScriptV1
- hashScript :: Script lang -> ScriptHash
- languageOfScriptLanguageInEra :: ScriptLanguageInEra lang era -> ScriptLanguage lang
- scriptWitnessScript :: ScriptWitness witctx era -> ScriptInEra era
- timeLocksSupported :: SimpleScriptVersion lang -> Maybe (TimeLocksSupported lang)
- toScriptInAnyLang :: Script lang -> ScriptInAnyLang
- toScriptInEra :: CardanoEra era -> ScriptInAnyLang -> Maybe (ScriptInEra era)
- hashScriptData :: ScriptData -> Hash ScriptData
- scriptDataFromJson :: ScriptDataJsonSchema -> Value -> Either ScriptDataJsonError ScriptData
- scriptDataToJson :: ScriptDataJsonSchema -> ScriptData -> Value
- validateScriptData :: ScriptData -> Either ScriptDataRangeError ()
- deserialiseAnyOfFromBech32 :: [FromSomeType SerialiseAsBech32 b] -> Text -> Either Bech32DecodeError b
- deserialiseFromBech32 :: SerialiseAsBech32 a => AsType a -> Text -> Either Bech32DecodeError a
- serialiseToBech32 :: SerialiseAsBech32 a => a -> Text
- deserialiseFromJSON :: FromJSON a => AsType a -> ByteString -> Either JsonDecodeError a
- prettyPrintJSON :: ToJSON a => a -> ByteString
- readFileJSON :: FromJSON a => AsType a -> FilePath -> IO (Either (FileError JsonDecodeError) a)
- serialiseToJSON :: ToJSON a => a -> ByteString
- writeFileJSON :: ToJSON a => FilePath -> a -> IO (Either (FileError ()) ())
- deserialiseTxLedgerCddl :: IsCardanoEra era => CardanoEra era -> TextEnvelopeCddl -> Either TextEnvelopeCddlError (Tx era)
- deserialiseWitnessLedgerCddl :: ShelleyBasedEra era -> TextEnvelopeCddl -> Either TextEnvelopeCddlError (KeyWitness era)
- readFileTextEnvelopeCddlAnyOf :: [FromSomeTypeCDDL TextEnvelopeCddl b] -> FilePath -> IO (Either (FileError TextEnvelopeCddlError) b)
- serialiseTxLedgerCddl :: IsCardanoEra era => Tx era -> TextEnvelopeCddl
- serialiseWitnessLedgerCddl :: ShelleyBasedEra era -> KeyWitness era -> TextEnvelopeCddl
- writeTxFileTextEnvelopeCddl :: IsCardanoEra era => FilePath -> Tx era -> IO (Either (FileError ()) ())
- writeTxWitnessFileTextEnvelopeCddl :: ShelleyBasedEra era -> FilePath -> KeyWitness era -> IO (Either (FileError ()) ())
- deserialiseFromRawBytesHex :: SerialiseAsRawBytes a => AsType a -> ByteString -> Maybe a
- serialiseToRawBytesHex :: SerialiseAsRawBytes a => a -> ByteString
- serialiseToRawBytesHexText :: SerialiseAsRawBytes a => a -> Text
- deserialiseFromTextEnvelope :: HasTextEnvelope a => AsType a -> TextEnvelope -> Either TextEnvelopeError a
- deserialiseFromTextEnvelopeAnyOf :: [FromSomeType HasTextEnvelope b] -> TextEnvelope -> Either TextEnvelopeError b
- readFileTextEnvelope :: HasTextEnvelope a => AsType a -> FilePath -> IO (Either (FileError TextEnvelopeError) a)
- readFileTextEnvelopeAnyOf :: [FromSomeType HasTextEnvelope b] -> FilePath -> IO (Either (FileError TextEnvelopeError) b)
- readTextEnvelopeFromFile :: FilePath -> IO (Either (FileError TextEnvelopeError) TextEnvelope)
- readTextEnvelopeOfTypeFromFile :: TextEnvelopeType -> FilePath -> IO (Either (FileError TextEnvelopeError) TextEnvelope)
- serialiseToTextEnvelope :: HasTextEnvelope a => Maybe TextEnvelopeDescr -> a -> TextEnvelope
- textEnvelopeRawCBOR :: TextEnvelope -> ByteString
- writeFileTextEnvelope :: HasTextEnvelope a => FilePath -> Maybe TextEnvelopeDescr -> a -> IO (Either (FileError ()) ())
- writeFileTextEnvelopeWithOwnerPermissions :: HasTextEnvelope a => FilePath -> Maybe TextEnvelopeDescr -> a -> IO (Either (FileError ()) ())
- validateAndHashStakePoolMetadata :: ByteString -> Either StakePoolMetadataValidationError (StakePoolMetadata, Hash StakePoolMetadata)
- getTxBody :: Tx era -> TxBody era
- getTxWitnesses :: Tx era -> [KeyWitness era]
- makeByronKeyWitness :: IsByronKey key => NetworkId -> TxBody ByronEra -> SigningKey key -> KeyWitness ByronEra
- makeShelleyBootstrapWitness :: IsShelleyBasedEra era => WitnessNetworkIdOrByronAddress -> TxBody era -> SigningKey ByronKey -> KeyWitness era
- makeShelleyKeyWitness :: IsShelleyBasedEra era => TxBody era -> ShelleyWitnessSigningKey -> KeyWitness era
- makeSignedTransaction :: [KeyWitness era] -> TxBody era -> Tx era
- signByronTransaction :: NetworkId -> TxBody ByronEra -> [SigningKey ByronKey] -> Tx ByronEra
- signShelleyTransaction :: IsShelleyBasedEra era => TxBody era -> [ShelleyWitnessSigningKey] -> Tx era
- auxScriptsSupportedInEra :: CardanoEra era -> Maybe (AuxScriptsSupportedInEra era)
- certificatesSupportedInEra :: CardanoEra era -> Maybe (CertificatesSupportedInEra era)
- collateralSupportedInEra :: CardanoEra era -> Maybe (CollateralSupportedInEra era)
- collectTxBodyScriptWitnesses :: TxBodyContent BuildTx era -> [(ScriptWitnessIndex, AnyScriptWitness era)]
- extraKeyWitnessesSupportedInEra :: CardanoEra era -> Maybe (TxExtraKeyWitnessesSupportedInEra era)
- fromLedgerTxOuts :: ShelleyBasedEra era -> TxBody (ShelleyLedgerEra era) -> TxBodyScriptData era -> [TxOut CtxTx era]
- genesisUTxOPseudoTxIn :: NetworkId -> Hash GenesisUTxOKey -> TxIn
- getTxId :: TxBody era -> TxId
- lovelaceToTxOutValue :: IsCardanoEra era => Lovelace -> TxOutValue era
- makeTransactionBody :: IsCardanoEra era => TxBodyContent BuildTx era -> Either TxBodyError (TxBody era)
- mapTxScriptWitnesses :: (forall witctx. ScriptWitnessIndex -> ScriptWitness witctx era -> ScriptWitness witctx era) -> TxBodyContent BuildTx era -> TxBodyContent BuildTx era
- parseHash :: SerialiseAsRawBytes (Hash a) => AsType (Hash a) -> Parser (Hash a)
- renderScriptWitnessIndex :: ScriptWitnessIndex -> String
- renderTxIn :: TxIn -> Text
- scriptValidityToTxScriptValidity :: ShelleyBasedEra era -> ScriptValidity -> TxScriptValidity era
- toCtxUTxOTxOut :: TxOut CtxTx era -> TxOut CtxUTxO era
- txFeesExplicitInEra :: CardanoEra era -> Either (TxFeesImplicitInEra era) (TxFeesExplicitInEra era)
- txMetadataSupportedInEra :: CardanoEra era -> Maybe (TxMetadataSupportedInEra era)
- txOutValueToLovelace :: TxOutValue era -> Lovelace
- txOutValueToValue :: TxOutValue era -> Value
- txScriptValiditySupportedInCardanoEra :: CardanoEra era -> Maybe (TxScriptValiditySupportedInEra era)
- txScriptValiditySupportedInShelleyBasedEra :: ShelleyBasedEra era -> Maybe (TxScriptValiditySupportedInEra era)
- updateProposalSupportedInEra :: CardanoEra era -> Maybe (UpdateProposalSupportedInEra era)
- validityLowerBoundSupportedInEra :: CardanoEra era -> Maybe (ValidityLowerBoundSupportedInEra era)
- validityNoUpperBoundSupportedInEra :: CardanoEra era -> Maybe (ValidityNoUpperBoundSupportedInEra era)
- validityUpperBoundSupportedInEra :: CardanoEra era -> Maybe (ValidityUpperBoundSupportedInEra era)
- withdrawalsSupportedInEra :: CardanoEra era -> Maybe (WithdrawalsSupportedInEra era)
- makeTransactionMetadata :: Map Word64 TxMetadataValue -> TxMetadata
- metadataFromJson :: TxMetadataJsonSchema -> Value -> Either TxMetadataJsonError TxMetadata
- metadataToJson :: TxMetadataJsonSchema -> TxMetadata -> Value
- metadataValueToJsonNoSchema :: TxMetadataValue -> Value
- validateTxMetadata :: TxMetadata -> Either [(Word64, TxMetadataRangeError)] ()
- runParsecParser :: Parser a -> Text -> Parser a
- filterValue :: (AssetId -> Bool) -> Value -> Value
- lovelaceToQuantity :: Lovelace -> Quantity
- lovelaceToValue :: Lovelace -> Value
- negateValue :: Value -> Value
- quantityToLovelace :: Quantity -> Lovelace
- renderValue :: Value -> Text
- renderValuePretty :: Value -> Text
- scriptPolicyId :: Script lang -> PolicyId
- selectAsset :: Value -> AssetId -> Quantity
- selectLovelace :: Value -> Lovelace
- valueFromList :: [(AssetId, Quantity)] -> Value
- valueFromNestedRep :: ValueNestedRep -> Value
- valueToList :: Value -> [(AssetId, Quantity)]
- valueToLovelace :: Value -> Maybe Lovelace
- valueToNestedRep :: Value -> ValueNestedRep
- parseValue :: Parser Value
- data Address addrtype where
- ByronAddress :: Address -> Address ByronAddr
- ShelleyAddress :: Network -> PaymentCredential StandardCrypto -> StakeReference StandardCrypto -> Address ShelleyAddr
- data AddressAny
- data ByronAddr
- data PaymentCredential
- class HasTypeProxy addr => SerialiseAddress addr where
- serialiseAddress :: addr -> Text
- deserialiseAddress :: AsType addr -> Text -> Maybe addr
- data ShelleyAddr
- data StakeAddress
- newtype StakeAddressPointer = StakeAddressPointer {
- unStakeAddressPointer :: Ptr
- data StakeAddressReference
- data StakeCredential
- data Block era where
- pattern Block :: BlockHeader -> [Tx era] -> Block era
- data BlockHeader = BlockHeader !SlotNo !(Hash BlockHeader) !BlockNo
- data BlockInMode mode where
- BlockInMode :: forall era mode. Block era -> EraInMode era mode -> BlockInMode mode
- data ChainPoint
- data ChainTip
- data Certificate
- = StakeAddressRegistrationCertificate StakeCredential
- | StakeAddressDeregistrationCertificate StakeCredential
- | StakeAddressDelegationCertificate StakeCredential PoolId
- | StakePoolRegistrationCertificate StakePoolParameters
- | StakePoolRetirementCertificate PoolId EpochNo
- | GenesisKeyDelegationCertificate (Hash GenesisKey) (Hash GenesisDelegateKey) (Hash VrfKey)
- | MIRCertificate MIRPot MIRTarget
- data MIRTarget
- data StakePoolMetadataReference
- data StakePoolParameters
- data StakePoolRelay
- type Allegra = AllegraEra
- data AllegraEra
- data AlonzoEra
- data AnyCardanoEra where
- AnyCardanoEra :: forall era. IsCardanoEra era => CardanoEra era -> AnyCardanoEra
- type Byron = ByronEra
- data ByronEra
- data CardanoEra era where
- data CardanoEraStyle era where
- LegacyByronEra :: CardanoEraStyle ByronEra
- ShelleyBasedEra :: forall era. IsShelleyBasedEra era => ShelleyBasedEra era -> CardanoEraStyle era
- data InAnyCardanoEra (thing :: Type -> Type) where
- InAnyCardanoEra :: forall era (thing :: Type -> Type). IsCardanoEra era => CardanoEra era -> thing era -> InAnyCardanoEra thing
- data InAnyShelleyBasedEra (thing :: Type -> Type) where
- InAnyShelleyBasedEra :: forall era (thing :: Type -> Type). IsShelleyBasedEra era => ShelleyBasedEra era -> thing era -> InAnyShelleyBasedEra thing
- class HasTypeProxy era => IsCardanoEra era where
- cardanoEra :: CardanoEra era
- class IsCardanoEra era => IsShelleyBasedEra era where
- shelleyBasedEra :: ShelleyBasedEra era
- type Mary = MaryEra
- data MaryEra
- type Shelley = ShelleyEra
- data ShelleyBasedEra era where
- data ShelleyEra
- class Show e => Error e where
- displayError :: e -> String
- data FileError e
- data MinimumUTxOError
- data ScriptExecutionError
- = ScriptErrorMissingTxIn TxIn
- | ScriptErrorTxInWithoutDatum TxIn
- | ScriptErrorWrongDatum (Hash ScriptData)
- | ScriptErrorEvaluationFailed EvaluationError [Text]
- | ScriptErrorExecutionUnitsOverflow
- | ScriptErrorNotPlutusWitnessedTxIn ScriptWitnessIndex
- | ScriptErrorMissingScript RdmrPtr
- | ScriptErrorMissingCostModel Language
- data TransactionValidityError
- = TransactionValidityIntervalError PastHorizonException
- | TransactionValidityBasicFailure (BasicFailure StandardCrypto)
- data TxBodyErrorAutoBalance
- = TxBodyError TxBodyError
- | TxBodyScriptExecutionError [(ScriptWitnessIndex, ScriptExecutionError)]
- | TxBodyScriptBadScriptValidity
- | TxBodyErrorAssetBalanceWrong Value
- | TxBodyErrorAdaBalanceNegative Lovelace
- | TxBodyErrorAdaBalanceTooSmall TxOutInAnyEra Lovelace Lovelace
- | TxBodyErrorByronEraNotSupported
- | TxBodyErrorMissingParamMinUTxO
- | TxBodyErrorMissingParamCostPerWord
- | TxBodyErrorValidityInterval TransactionValidityError
- | TxBodyErrorMinUTxONotMet TxOutInAnyEra Lovelace
- | TxBodyErrorMinUTxOMissingPParams MinimumUTxOError
- | TxBodyErrorNonAdaAssetsUnbalanced Value
- data GenesisParameters = GenesisParameters {
- protocolParamSystemStart :: UTCTime
- protocolParamNetworkId :: NetworkId
- protocolParamActiveSlotsCoefficient :: Rational
- protocolParamSecurity :: Int
- protocolParamEpochLength :: EpochSize
- protocolParamSlotLength :: NominalDiffTime
- protocolParamSlotsPerKESPeriod :: Int
- protocolParamMaxKESEvolutions :: Int
- protocolParamUpdateQuorum :: Int
- protocolParamMaxLovelaceSupply :: Lovelace
- protocolInitialUpdateableProtocolParameters :: ProtocolParameters
- data family AsType t
- data FromSomeType (c :: Type -> Constraint) b where
- FromSomeType :: forall (c :: Type -> Constraint) a b. c a => AsType a -> (a -> b) -> FromSomeType c b
- class HasTypeProxy t where
- data AsType t
- proxyToAsType :: Proxy t -> AsType t
- castHash :: CastHash roleA roleB => Hash roleA -> Hash roleB
- data family Hash keyrole
- data LocalChainSyncClient block point tip (m :: Type -> Type)
- = NoLocalChainSyncClient
- | LocalChainSyncClientPipelined (ChainSyncClientPipelined block point tip m ())
- | LocalChainSyncClient (ChainSyncClient block point tip m ())
- data LocalNodeClientParams where
- LocalNodeClientParams :: forall block. (SerialiseNodeToClientConstraints block, SupportedNetworkProtocolVersion block, ShowProxy block, ShowProxy (ApplyTxErr block), ShowProxy (GenTx block), ShowProxy (Query block), ShowQuery (Query block), ProtocolClient block) => ProtocolClientInfoArgs block -> (NodeToClientVersion -> LocalNodeClientProtocolsForBlock block) -> LocalNodeClientParams
- data LocalNodeClientProtocols block point tip tx txerr (query :: Type -> Type) (m :: Type -> Type) = LocalNodeClientProtocols {
- localChainSyncClient :: LocalChainSyncClient block point tip m
- localTxSubmissionClient :: Maybe (LocalTxSubmissionClient tx txerr m ())
- localStateQueryClient :: Maybe (LocalStateQueryClient block point query m ())
- type LocalNodeClientProtocolsInMode mode = LocalNodeClientProtocols (BlockInMode mode) ChainPoint ChainTip (TxInMode mode) (TxValidationErrorInMode mode) (QueryInMode mode) IO
- data LocalNodeConnectInfo mode = LocalNodeConnectInfo {}
- data LocalStateQueryExpr block point (query :: Type -> Type) r (m :: Type -> Type) a
- castSigningKey :: CastSigningKeyRole keyroleA keyroleB => SigningKey keyroleA -> SigningKey keyroleB
- castVerificationKey :: CastVerificationKeyRole keyroleA keyroleB => VerificationKey keyroleA -> VerificationKey keyroleB
- class (Eq (VerificationKey keyrole), Show (VerificationKey keyrole), SerialiseAsRawBytes (Hash keyrole), HasTextEnvelope (VerificationKey keyrole), HasTextEnvelope (SigningKey keyrole)) => Key keyrole where
- data VerificationKey keyrole
- getVerificationKey :: SigningKey keyrole -> VerificationKey keyrole
- deterministicSigningKey :: AsType keyrole -> Seed -> SigningKey keyrole
- deterministicSigningKeySeedSize :: AsType keyrole -> Word
- verificationKeyHash :: VerificationKey keyrole -> Hash keyrole
- data family VerificationKey keyrole
- data family SigningKey keyrole
- data ByronKey
- data ByronKeyLegacy
- data GenesisDelegateExtendedKey
- data GenesisDelegateKey
- data GenesisExtendedKey
- data GenesisKey
- data GenesisUTxOKey
- data PaymentExtendedKey
- data PaymentKey
- data StakeExtendedKey
- data StakeKey
- toLedgerEvent :: ConvertLedgerEvent blk => WrapLedgerEvent blk -> Maybe LedgerEvent
- data LedgerEvent
- data MIRDistributionDetails = MIRDistributionDetails {}
- data PoolReapDetails = PoolReapDetails {}
- data Env = Env {
- envLedgerConfig :: HardForkLedgerConfig (CardanoEras StandardCrypto)
- envProtocolConfig :: ConsensusConfig (HardForkProtocol (CardanoEras StandardCrypto))
- data FoldBlocksError
- data GenesisConfigError
- = NEError !Text
- | NEByronConfig !FilePath !ConfigurationError
- | NEShelleyConfig !FilePath !Text
- | NEAlonzoConfig !FilePath !Text
- | NECardanoConfig !Text
- data InitialLedgerStateError
- newtype LedgerState where
- LedgerState {
- clsState :: LedgerState (HardForkBlock (CardanoEras StandardCrypto))
- pattern LedgerStateShelley :: LedgerState (ShelleyBlock (ShelleyEra StandardCrypto)) -> LedgerState
- pattern LedgerStateMary :: LedgerState (ShelleyBlock (MaryEra StandardCrypto)) -> LedgerState
- pattern LedgerStateByron :: LedgerState ByronBlock -> LedgerState
- pattern LedgerStateAlonzo :: LedgerState (ShelleyBlock (AlonzoEra StandardCrypto)) -> LedgerState
- pattern LedgerStateAllegra :: LedgerState (ShelleyBlock (AllegraEra StandardCrypto)) -> LedgerState
- LedgerState {
- data LedgerStateError
- = ApplyBlockHashMismatch Text
- | ApplyBlockError (HardForkLedgerError (CardanoEras StandardCrypto))
- | InvalidRollback SlotNo ChainPoint
- data ValidationMode
- data AnyConsensusMode where
- AnyConsensusMode :: forall mode. ConsensusMode mode -> AnyConsensusMode
- data AnyConsensusModeParams where
- AnyConsensusModeParams :: forall mode. ConsensusModeParams mode -> AnyConsensusModeParams
- data CardanoMode
- type family ConsensusBlockForEra era where ...
- type family ConsensusBlockForMode mode where ...
- data ConsensusMode mode where
- data ConsensusModeIsMultiEra mode where
- data ConsensusModeParams mode where
- data EraInMode era mode where
- ByronEraInByronMode :: EraInMode ByronEra ByronMode
- ShelleyEraInShelleyMode :: EraInMode ShelleyEra ShelleyMode
- ByronEraInCardanoMode :: EraInMode ByronEra CardanoMode
- ShelleyEraInCardanoMode :: EraInMode ShelleyEra CardanoMode
- AllegraEraInCardanoMode :: EraInMode AllegraEra CardanoMode
- MaryEraInCardanoMode :: EraInMode MaryEra CardanoMode
- AlonzoEraInCardanoMode :: EraInMode AlonzoEra CardanoMode
- data NetworkId
- data OperationalCertIssueError
- data OperationalCertificate
- data OperationalCertificateIssueCounter
- newtype CostModel = CostModel (Map Text Integer)
- data ExecutionUnitPrices = ExecutionUnitPrices {}
- data PraosNonce
- data ProtocolParametersUpdate = ProtocolParametersUpdate {
- protocolUpdateProtocolVersion :: Maybe (Natural, Natural)
- protocolUpdateDecentralization :: Maybe Rational
- protocolUpdateExtraPraosEntropy :: Maybe (Maybe PraosNonce)
- protocolUpdateMaxBlockHeaderSize :: Maybe Natural
- protocolUpdateMaxBlockBodySize :: Maybe Natural
- protocolUpdateMaxTxSize :: Maybe Natural
- protocolUpdateTxFeeFixed :: Maybe Natural
- protocolUpdateTxFeePerByte :: Maybe Natural
- protocolUpdateMinUTxOValue :: Maybe Lovelace
- protocolUpdateStakeAddressDeposit :: Maybe Lovelace
- protocolUpdateStakePoolDeposit :: Maybe Lovelace
- protocolUpdateMinPoolCost :: Maybe Lovelace
- protocolUpdatePoolRetireMaxEpoch :: Maybe EpochNo
- protocolUpdateStakePoolTargetNum :: Maybe Natural
- protocolUpdatePoolPledgeInfluence :: Maybe Rational
- protocolUpdateMonetaryExpansion :: Maybe Rational
- protocolUpdateTreasuryCut :: Maybe Rational
- protocolUpdateUTxOCostPerWord :: Maybe Lovelace
- protocolUpdateCostModels :: Map AnyPlutusScriptVersion CostModel
- protocolUpdatePrices :: Maybe ExecutionUnitPrices
- protocolUpdateMaxTxExUnits :: Maybe ExecutionUnits
- protocolUpdateMaxBlockExUnits :: Maybe ExecutionUnits
- protocolUpdateMaxValueSize :: Maybe Natural
- protocolUpdateCollateralPercent :: Maybe Natural
- protocolUpdateMaxCollateralInputs :: Maybe Natural
- data UpdateProposal = UpdateProposal !(Map (Hash GenesisKey) ProtocolParametersUpdate) !EpochNo
- data EraHistory mode where
- EraHistory :: forall mode (xs :: [Type]). ConsensusBlockForMode mode ~ HardForkBlock xs => ConsensusMode mode -> Interpreter xs -> EraHistory mode
- data QueryInEra era result where
- QueryByronUpdateState :: QueryInEra ByronEra ByronUpdateState
- QueryInShelleyBasedEra :: forall era result. ShelleyBasedEra era -> QueryInShelleyBasedEra era result -> QueryInEra era result
- data QueryInMode mode result where
- QueryCurrentEra :: forall mode. ConsensusModeIsMultiEra mode -> QueryInMode mode AnyCardanoEra
- QueryInEra :: forall era mode result1. EraInMode era mode -> QueryInEra era result1 -> QueryInMode mode (Either EraMismatch result1)
- QueryEraHistory :: forall mode. ConsensusModeIsMultiEra mode -> QueryInMode mode (EraHistory mode)
- QuerySystemStart :: forall mode. QueryInMode mode SystemStart
- QueryChainBlockNo :: forall mode. QueryInMode mode (WithOrigin BlockNo)
- QueryChainPoint :: forall mode. ConsensusMode mode -> QueryInMode mode ChainPoint
- data QueryInShelleyBasedEra era result where
- QueryEpoch :: forall era. QueryInShelleyBasedEra era EpochNo
- QueryGenesisParameters :: forall era. QueryInShelleyBasedEra era GenesisParameters
- QueryProtocolParameters :: forall era. QueryInShelleyBasedEra era ProtocolParameters
- QueryProtocolParametersUpdate :: forall era. QueryInShelleyBasedEra era (Map (Hash GenesisKey) ProtocolParametersUpdate)
- QueryStakeDistribution :: forall era. QueryInShelleyBasedEra era (Map (Hash StakePoolKey) Rational)
- QueryUTxO :: forall era. QueryUTxOFilter -> QueryInShelleyBasedEra era (UTxO era)
- QueryStakeAddresses :: forall era. Set StakeCredential -> NetworkId -> QueryInShelleyBasedEra era (Map StakeAddress Lovelace, Map StakeAddress PoolId)
- QueryStakePools :: forall era. QueryInShelleyBasedEra era (Set PoolId)
- QueryStakePoolParameters :: forall era. Set PoolId -> QueryInShelleyBasedEra era (Map PoolId StakePoolParameters)
- QueryDebugLedgerState :: forall era. QueryInShelleyBasedEra era (SerialisedDebugLedgerState era)
- QueryProtocolState :: forall era. QueryInShelleyBasedEra era (ProtocolState era)
- QueryCurrentEpochState :: forall era. QueryInShelleyBasedEra era (SerialisedCurrentEpochState era)
- data QueryUTxOFilter
- newtype SlotsInEpoch = SlotsInEpoch Word64
- newtype SlotsToEpochEnd = SlotsToEpochEnd Word64
- data AnyPlutusScriptVersion where
- AnyPlutusScriptVersion :: forall lang. PlutusScriptVersion lang -> AnyPlutusScriptVersion
- data AnyScriptLanguage where
- AnyScriptLanguage :: forall lang. ScriptLanguage lang -> AnyScriptLanguage
- data ExecutionUnits = ExecutionUnits {}
- class HasTypeProxy lang => IsScriptLanguage lang where
- scriptLanguage :: ScriptLanguage lang
- class IsScriptLanguage lang => IsSimpleScriptLanguage lang where
- data KeyWitnessInCtx witctx where
- data PlutusScriptV1
- data PlutusScriptV2
- data PlutusScriptVersion lang where
- data ScriptDatum witctx where
- data ScriptHash
- data ScriptInAnyLang where
- ScriptInAnyLang :: forall lang. ScriptLanguage lang -> Script lang -> ScriptInAnyLang
- data ScriptLanguageInEra lang era where
- SimpleScriptV1InShelley :: ScriptLanguageInEra SimpleScriptV1 ShelleyEra
- SimpleScriptV1InAllegra :: ScriptLanguageInEra SimpleScriptV1 AllegraEra
- SimpleScriptV1InMary :: ScriptLanguageInEra SimpleScriptV1 MaryEra
- SimpleScriptV1InAlonzo :: ScriptLanguageInEra SimpleScriptV1 AlonzoEra
- SimpleScriptV2InAllegra :: ScriptLanguageInEra SimpleScriptV2 AllegraEra
- SimpleScriptV2InMary :: ScriptLanguageInEra SimpleScriptV2 MaryEra
- SimpleScriptV2InAlonzo :: ScriptLanguageInEra SimpleScriptV2 AlonzoEra
- PlutusScriptV1InAlonzo :: ScriptLanguageInEra PlutusScriptV1 AlonzoEra
- PlutusScriptV2InAlonzo :: ScriptLanguageInEra PlutusScriptV2 AlonzoEra
- type ScriptRedeemer = ScriptData
- data ScriptWitnessInCtx witctx where
- data SimpleScript lang where
- RequireSignature :: forall lang. !(Hash PaymentKey) -> SimpleScript lang
- RequireTimeBefore :: forall lang. !(TimeLocksSupported lang) -> !SlotNo -> SimpleScript lang
- RequireTimeAfter :: forall lang. !(TimeLocksSupported lang) -> !SlotNo -> SimpleScript lang
- RequireAllOf :: forall lang. [SimpleScript lang] -> SimpleScript lang
- RequireAnyOf :: forall lang. [SimpleScript lang] -> SimpleScript lang
- RequireMOf :: forall lang. Int -> [SimpleScript lang] -> SimpleScript lang
- data SimpleScriptV1
- data SimpleScriptV2
- data SimpleScriptVersion lang where
- data TimeLocksSupported lang where
- data WitCtx witctx where
- data WitCtxMint
- data WitCtxStake
- data WitCtxTxIn
- data ScriptData
- data ScriptDataJsonError
- data ScriptDataJsonSchema
- data ScriptDataJsonSchemaError
- = ScriptDataJsonNullNotAllowed
- | ScriptDataJsonBoolNotAllowed
- | ScriptDataJsonNumberNotInteger !Double
- | ScriptDataJsonNotObject !Value
- | ScriptDataJsonBadObject ![(Text, Value)]
- | ScriptDataJsonBadMapPair !Value
- | ScriptDataJsonTypeMismatch !Text !Value
- data ScriptDataRangeError
- data Bech32DecodeError
- = Bech32DecodingError !DecodingError
- | Bech32UnexpectedPrefix !Text !(Set Text)
- | Bech32DataPartToBytesError !Text
- | Bech32DeserialiseFromBytesError !ByteString
- | Bech32WrongPrefix !Text !Text
- class (HasTypeProxy a, SerialiseAsRawBytes a) => SerialiseAsBech32 a
- class HasTypeProxy a => SerialiseAsCBOR a where
- serialiseToCBOR :: a -> ByteString
- deserialiseFromCBOR :: AsType a -> ByteString -> Either DecoderError a
- newtype JsonDecodeError = JsonDecodeError String
- data FromSomeTypeCDDL c b where
- FromCDDLTx :: forall b. Text -> (InAnyCardanoEra Tx -> b) -> FromSomeTypeCDDL TextEnvelopeCddl b
- FromCDDLWitness :: forall b. Text -> (InAnyCardanoEra KeyWitness -> b) -> FromSomeTypeCDDL TextEnvelopeCddl b
- data TextEnvelopeCddlError
- class HasTypeProxy a => SerialiseAsRawBytes a where
- serialiseToRawBytes :: a -> ByteString
- deserialiseFromRawBytes :: AsType a -> ByteString -> Maybe a
- class SerialiseAsCBOR a => HasTextEnvelope a where
- data TextEnvelope = TextEnvelope {}
- data TextEnvelopeDescr
- data TextEnvelopeError
- = TextEnvelopeTypeError ![TextEnvelopeType] !TextEnvelopeType
- | TextEnvelopeDecodeError !DecoderError
- | TextEnvelopeAesonDecodeError !String
- newtype TextEnvelopeType = TextEnvelopeType String
- data StakePoolMetadata
- data StakePoolMetadataValidationError
- data ShelleyWitnessSigningKey
- = WitnessPaymentKey (SigningKey PaymentKey)
- | WitnessPaymentExtendedKey (SigningKey PaymentExtendedKey)
- | WitnessStakeKey (SigningKey StakeKey)
- | WitnessStakeExtendedKey (SigningKey StakeExtendedKey)
- | WitnessStakePoolKey (SigningKey StakePoolKey)
- | WitnessGenesisKey (SigningKey GenesisKey)
- | WitnessGenesisExtendedKey (SigningKey GenesisExtendedKey)
- | WitnessGenesisDelegateKey (SigningKey GenesisDelegateKey)
- | WitnessGenesisDelegateExtendedKey (SigningKey GenesisDelegateExtendedKey)
- | WitnessGenesisUTxOKey (SigningKey GenesisUTxOKey)
- data AnyScriptWitness era where
- AnyScriptWitness :: forall witctx era. ScriptWitness witctx era -> AnyScriptWitness era
- data AuxScriptsSupportedInEra era where
- data BuildTx
- data BuildTxWith build a where
- ViewTx :: forall a. BuildTxWith ViewTx a
- BuildTxWith :: forall a. a -> BuildTxWith BuildTx a
- data CertificatesSupportedInEra era where
- data CollateralSupportedInEra era where
- data CtxTx
- data CtxUTxO
- data MultiAssetSupportedInEra era where
- data OnlyAdaSupportedInEra era where
- data ScriptDataSupportedInEra era where
- data ScriptValidity
- data ScriptWitnessIndex
- data TxBodyError
- data TxCertificates build era where
- TxCertificatesNone :: forall build era. TxCertificates build era
- TxCertificates :: forall era build. CertificatesSupportedInEra era -> [Certificate] -> BuildTxWith build (Map StakeCredential (Witness WitCtxStake era)) -> TxCertificates build era
- data TxExtraKeyWitnessesSupportedInEra era where
- data TxFeesExplicitInEra era where
- data TxFeesImplicitInEra era where
- newtype TxId = TxId (Hash StandardCrypto EraIndependentTxBody)
- data TxIn = TxIn TxId TxIx
- newtype TxIx = TxIx Word
- data TxMetadataSupportedInEra era where
- data TxOutValue era where
- TxOutAdaOnly :: forall era. OnlyAdaSupportedInEra era -> Lovelace -> TxOutValue era
- TxOutValue :: forall era. MultiAssetSupportedInEra era -> Value -> TxOutValue era
- data TxScriptValiditySupportedInEra era where
- data TxUpdateProposal era where
- TxUpdateProposalNone :: forall era. TxUpdateProposal era
- TxUpdateProposal :: forall era. UpdateProposalSupportedInEra era -> UpdateProposal -> TxUpdateProposal era
- data TxValidityLowerBound era where
- TxValidityNoLowerBound :: forall era. TxValidityLowerBound era
- TxValidityLowerBound :: forall era. ValidityLowerBoundSupportedInEra era -> SlotNo -> TxValidityLowerBound era
- data TxValidityUpperBound era where
- TxValidityNoUpperBound :: forall era. ValidityNoUpperBoundSupportedInEra era -> TxValidityUpperBound era
- TxValidityUpperBound :: forall era. ValidityUpperBoundSupportedInEra era -> SlotNo -> TxValidityUpperBound era
- data TxWithdrawals build era where
- TxWithdrawalsNone :: forall build era. TxWithdrawals build era
- TxWithdrawals :: forall era build. WithdrawalsSupportedInEra era -> [(StakeAddress, Lovelace, BuildTxWith build (Witness WitCtxStake era))] -> TxWithdrawals build era
- data UpdateProposalSupportedInEra era where
- data ValidityLowerBoundSupportedInEra era where
- data ValidityNoUpperBoundSupportedInEra era where
- ValidityNoUpperBoundInByronEra :: ValidityNoUpperBoundSupportedInEra ByronEra
- ValidityNoUpperBoundInAllegraEra :: ValidityNoUpperBoundSupportedInEra AllegraEra
- ValidityNoUpperBoundInMaryEra :: ValidityNoUpperBoundSupportedInEra MaryEra
- ValidityNoUpperBoundInAlonzoEra :: ValidityNoUpperBoundSupportedInEra AlonzoEra
- data ValidityUpperBoundSupportedInEra era where
- ValidityUpperBoundInShelleyEra :: ValidityUpperBoundSupportedInEra ShelleyEra
- ValidityUpperBoundInAllegraEra :: ValidityUpperBoundSupportedInEra AllegraEra
- ValidityUpperBoundInMaryEra :: ValidityUpperBoundSupportedInEra MaryEra
- ValidityUpperBoundInAlonzoEra :: ValidityUpperBoundSupportedInEra AlonzoEra
- data ViewTx
- data WithdrawalsSupportedInEra era where
- data TxInMode mode where
- data TxValidationErrorInMode mode where
- TxValidationErrorInMode :: forall era mode. TxValidationError era -> EraInMode era mode -> TxValidationErrorInMode mode
- TxValidationEraMismatch :: forall mode. EraMismatch -> TxValidationErrorInMode mode
- newtype TxMetadata = TxMetadata (Map Word64 TxMetadataValue)
- data TxMetadataJsonError
- data TxMetadataJsonSchema
- data TxMetadataJsonSchemaError
- = TxMetadataJsonNullNotAllowed
- | TxMetadataJsonBoolNotAllowed
- | TxMetadataJsonNumberNotInteger !Double
- | TxMetadataJsonNotObject !Value
- | TxMetadataJsonBadObject ![(Text, Value)]
- | TxMetadataJsonBadMapPair !Value
- | TxMetadataJsonTypeMismatch !Text !Value
- data TxMetadataRangeError
- data TxMetadataValue
- data AssetId
- newtype AssetName = AssetName ByteString
- newtype Lovelace = Lovelace Integer
- newtype PolicyId = PolicyId ScriptHash
- newtype Quantity = Quantity Integer
- data Value
- data ValueNestedBundle
- newtype ValueNestedRep = ValueNestedRep [ValueNestedBundle]
- newtype EpochSlots = EpochSlots {}
- newtype BlockNo = BlockNo {}
- newtype EpochNo = EpochNo {}
- newtype SlotNo = SlotNo {}
- newtype NetworkMagic = NetworkMagic {}
- data NodeToClientVersion
- newtype ChainSyncClient header point tip (m :: Type -> Type) a = ChainSyncClient {
- runChainSyncClient :: m (ClientStIdle header point tip m a)
- newtype ChainSyncClientPipelined header point tip (m :: Type -> Type) a = ChainSyncClientPipelined {
- runChainSyncClientPipelined :: m (ClientPipelinedStIdle 'Z header point tip m a)
- newtype LocalStateQueryClient block point (query :: Type -> Type) (m :: Type -> Type) a = LocalStateQueryClient {
- runLocalStateQueryClient :: m (ClientStIdle block point query m a)
- data LocalTxSubmissionClient tx reject (m :: Type -> Type) a
- data ShelleyGenesis era = ShelleyGenesis {
- sgSystemStart :: !UTCTime
- sgNetworkMagic :: !Word32
- sgNetworkId :: !Network
- sgActiveSlotsCoeff :: !PositiveUnitInterval
- sgSecurityParam :: !Word64
- sgEpochLength :: !EpochSize
- sgSlotsPerKESPeriod :: !Word64
- sgMaxKESEvolutions :: !Word64
- sgSlotLength :: !NominalDiffTime
- sgUpdateQuorum :: !Word64
- sgMaxLovelaceSupply :: !Word64
- sgProtocolParams :: !(PParams era)
- sgGenDelegs :: !(Map (KeyHash 'Genesis (Crypto era)) (GenDelegPair (Crypto era)))
- sgInitialFunds :: !(Map (Addr (Crypto era)) Coin)
- sgStaking :: !(ShelleyGenesisStaking (Crypto era))
- type family ShelleyLedgerEra era where ...
- type PoolId = Hash StakePoolKey
- data ProtocolParameters = ProtocolParameters {
- protocolParamProtocolVersion :: (Natural, Natural)
- protocolParamDecentralization :: Rational
- protocolParamExtraPraosEntropy :: Maybe PraosNonce
- protocolParamMaxBlockHeaderSize :: Natural
- protocolParamMaxBlockBodySize :: Natural
- protocolParamMaxTxSize :: Natural
- protocolParamTxFeeFixed :: Natural
- protocolParamTxFeePerByte :: Natural
- protocolParamMinUTxOValue :: Maybe Lovelace
- protocolParamStakeAddressDeposit :: Lovelace
- protocolParamStakePoolDeposit :: Lovelace
- protocolParamMinPoolCost :: Lovelace
- protocolParamPoolRetireMaxEpoch :: EpochNo
- protocolParamStakePoolTargetNum :: Natural
- protocolParamPoolPledgeInfluence :: Rational
- protocolParamMonetaryExpansion :: Rational
- protocolParamTreasuryCut :: Rational
- protocolParamUTxOCostPerWord :: Maybe Lovelace
- protocolParamCostModels :: Map AnyPlutusScriptVersion CostModel
- protocolParamPrices :: Maybe ExecutionUnitPrices
- protocolParamMaxTxExUnits :: Maybe ExecutionUnits
- protocolParamMaxBlockExUnits :: Maybe ExecutionUnits
- protocolParamMaxValueSize :: Maybe Natural
- protocolParamCollateralPercent :: Maybe Natural
- protocolParamMaxCollateralInputs :: Maybe Natural
- fromPlutusData :: Data -> ScriptData
- toPlutusData :: ScriptData -> Data
Common type-alias
data StandardCrypto #
Instances
| PraosCrypto StandardCrypto | |
Defined in Cardano.Ledger.Shelley.API.Protocol | |
| Crypto StandardCrypto | |
Defined in Cardano.Ledger.Crypto Associated Types type HASH StandardCrypto type ADDRHASH StandardCrypto type DSIGN StandardCrypto type KES StandardCrypto type VRF StandardCrypto | |
| IOLike m => Protocol m (CardanoBlock StandardCrypto) | |
Defined in Cardano.Api.Protocol.Types Associated Types data ProtocolInfoArgs m (CardanoBlock StandardCrypto) Methods protocolInfo :: ProtocolInfoArgs m (CardanoBlock StandardCrypto) -> ProtocolInfo m (CardanoBlock StandardCrypto) | |
| IOLike m => Protocol m (ShelleyBlockHFC StandardShelley) | |
Defined in Cardano.Api.Protocol.Types Associated Types data ProtocolInfoArgs m (ShelleyBlockHFC StandardShelley) Methods protocolInfo :: ProtocolInfoArgs m (ShelleyBlockHFC StandardShelley) -> ProtocolInfo m (ShelleyBlockHFC StandardShelley) | |
| ProtocolClient (CardanoBlock StandardCrypto) | |
Defined in Cardano.Api.Protocol.Types Associated Types data ProtocolClientInfoArgs (CardanoBlock StandardCrypto) Methods protocolClientInfo :: ProtocolClientInfoArgs (CardanoBlock StandardCrypto) -> ProtocolClientInfo (CardanoBlock StandardCrypto) | |
| ProtocolClient (ShelleyBlockHFC StandardShelley) | |
Defined in Cardano.Api.Protocol.Types Associated Types data ProtocolClientInfoArgs (ShelleyBlockHFC StandardShelley) Methods protocolClientInfo :: ProtocolClientInfoArgs (ShelleyBlockHFC StandardShelley) -> ProtocolClientInfo (ShelleyBlockHFC StandardShelley) | |
| type HASH StandardCrypto | |
Defined in Cardano.Ledger.Crypto type HASH StandardCrypto = Blake2b_256 | |
| type ADDRHASH StandardCrypto | |
Defined in Cardano.Ledger.Crypto type ADDRHASH StandardCrypto = Blake2b_224 | |
| type DSIGN StandardCrypto | |
Defined in Cardano.Ledger.Crypto type DSIGN StandardCrypto = Ed25519DSIGN | |
| type VRF StandardCrypto | |
Defined in Cardano.Ledger.Crypto type VRF StandardCrypto = PraosVRF | |
| type KES StandardCrypto | |
Defined in Cardano.Ledger.Crypto type KES StandardCrypto = Sum6KES Ed25519DSIGN Blake2b_256 | |
| data ProtocolInfoArgs m (ShelleyBlockHFC StandardShelley) | |
Defined in Cardano.Api.Protocol.Types data ProtocolInfoArgs m (ShelleyBlockHFC StandardShelley) = ProtocolInfoArgsShelley (ProtocolParamsShelleyBased StandardShelley) (ProtocolParamsShelley StandardCrypto) | |
| data ProtocolInfoArgs m (CardanoBlock StandardCrypto) | |
Defined in Cardano.Api.Protocol.Types data ProtocolInfoArgs m (CardanoBlock StandardCrypto) = ProtocolInfoArgsCardano ProtocolParamsByron (ProtocolParamsShelleyBased StandardShelley) (ProtocolParamsShelley StandardCrypto) (ProtocolParamsAllegra StandardCrypto) (ProtocolParamsMary StandardCrypto) (ProtocolParamsAlonzo StandardCrypto) (ProtocolTransitionParamsShelleyBased StandardShelley) (ProtocolTransitionParamsShelleyBased StandardAllegra) (ProtocolTransitionParamsShelleyBased StandardMary) (ProtocolTransitionParamsShelleyBased StandardAlonzo) | |
| data ProtocolClientInfoArgs (CardanoBlock StandardCrypto) | |
Defined in Cardano.Api.Protocol.Types data ProtocolClientInfoArgs (CardanoBlock StandardCrypto) = ProtocolClientInfoArgsCardano EpochSlots | |
| data ProtocolClientInfoArgs (ShelleyBlockHFC StandardShelley) | |
Defined in Cardano.Api.Protocol.Types data ProtocolClientInfoArgs (ShelleyBlockHFC StandardShelley) = ProtocolClientInfoArgsShelley | |
type LedgerEra = AlonzoEra StandardCrypto #
Wrapped Types
type TxScriptValidity = TxScriptValidity Era #
type TxOutDatum ctx = TxOutDatum ctx Era #
type TxMintValue build = TxMintValue build Era #
type TxMetadataInEra = TxMetadataInEra Era #
type TxInsCollateral = TxInsCollateral Era #
type TxIns build = [(TxIn, BuildTxWith build (Witness WitCtxTxIn Era))] #
type TxBodyScriptData = TxBodyScriptData Era #
type TxBodyContent build = TxBodyContent build Era #
type TxAuxScripts = TxAuxScripts Era #
type ScriptWitness witCtx = ScriptWitness witCtx Era #
type ScriptInEra = ScriptInEra Era #
type Script = Script PlutusScriptV1 #
type PlutusScript = PlutusScript PlutusScriptV1 #
type KeyWitness = KeyWitness Era #
type BalancedTxBody = BalancedTxBody Era #
type AddressTypeInEra addrType = AddressTypeInEra addrType Era #
type AddressInEra = AddressInEra Era #
pattern ScriptWitness :: ScriptWitnessInCtx ctx -> ScriptWitness ctx -> Witness ctx #
pattern KeyWitness :: KeyWitnessInCtx ctx -> Witness ctx #
pattern TxScriptValidity :: ScriptValidity -> TxScriptValidity #
pattern TxScriptValidityNone :: TxScriptValidity #
pattern TxOutDatum :: ScriptData -> TxOutDatum CtxTx #
pattern TxOutDatumHash :: Hash ScriptData -> TxOutDatum ctx #
txOutDatumHash :: TxOutDatum ctx -> Hash ScriptData #
pattern TxOutDatumNone :: TxOutDatum ctx #
pattern TxOut :: AddressInEra -> Value -> TxOutDatum ctx -> TxOut ctx #
txOutAddress :: TxOut ctx -> AddressInEra #
txOutValue :: TxOut ctx -> Value #
txOutDatum :: TxOut ctx -> TxOutDatum ctx #
pattern TxMintValue :: Value -> BuildTxWith build (Map PolicyId (ScriptWitness WitCtxMint)) -> TxMintValue build #
txMintValueInEra :: TxMintValue build -> Value #
txMintValueScriptWitnesses :: TxMintValue build -> BuildTxWith build (Map PolicyId (ScriptWitness WitCtxMint)) #
pattern TxMintValueNone :: TxMintValue build #
pattern TxMetadataInEra :: TxMetadata -> TxMetadataInEra #
pattern TxMetadataNone :: TxMetadataInEra #
pattern TxInsCollateral :: [TxIn] -> TxInsCollateral #
txInsCollateral' :: TxInsCollateral -> [TxIn] #
pattern TxInsCollateralNone :: TxInsCollateral #
pattern TxFeeExplicit :: Lovelace -> TxFee #
txFeeExplicit :: TxFee -> Lovelace #
pattern TxExtraKeyWitnesses :: [Hash PaymentKey] -> TxExtraKeyWitnesses #
pattern TxExtraKeyWitnessesNone :: TxExtraKeyWitnesses #
pattern TxBodyScriptData :: TxDats (ShelleyLedgerEra Era) -> Redeemers (ShelleyLedgerEra Era) -> TxBodyScriptData #
txBodyScriptDatums :: TxBodyScriptData -> TxDats (ShelleyLedgerEra Era) #
txBodyScriptRedeemers :: TxBodyScriptData -> Redeemers (ShelleyLedgerEra Era) #
pattern TxBodyNoScriptData :: TxBodyScriptData #
pattern TxBodyContent :: TxIns build -> TxInsCollateral -> [TxOut CtxTx] -> TxFee -> (TxValidityLowerBound Era, TxValidityUpperBound Era) -> TxMetadataInEra -> TxAuxScripts -> TxExtraKeyWitnesses -> BuildTxWith build (Maybe ProtocolParameters) -> TxWithdrawals build Era -> TxCertificates build Era -> TxUpdateProposal Era -> TxMintValue build -> TxScriptValidity -> TxBodyContent build #
txIns :: TxBodyContent build -> TxIns build #
txInsCollateral :: TxBodyContent build -> TxInsCollateral #
txOuts :: TxBodyContent build -> [TxOut CtxTx] #
txFee :: TxBodyContent build -> TxFee #
txValidityRange :: TxBodyContent build -> (TxValidityLowerBound Era, TxValidityUpperBound Era) #
txMetadata :: TxBodyContent build -> TxMetadataInEra #
txAuxScripts :: TxBodyContent build -> TxAuxScripts #
txExtraKeyWits :: TxBodyContent build -> TxExtraKeyWitnesses #
txProtocolParams :: TxBodyContent build -> BuildTxWith build (Maybe ProtocolParameters) #
txWithdrawals :: TxBodyContent build -> TxWithdrawals build Era #
txCertificates :: TxBodyContent build -> TxCertificates build Era #
txUpdateProposal :: TxBodyContent build -> TxUpdateProposal Era #
txMintValue :: TxBodyContent build -> TxMintValue build #
txScriptValidity :: TxBodyContent build -> TxScriptValidity #
pattern TxBody :: TxBodyContent ViewTx -> TxBody #
txBodyContent :: TxBody -> TxBodyContent ViewTx #
pattern TxAuxScripts :: [ScriptInEra] -> TxAuxScripts #
txAuxScripts' :: TxAuxScripts -> [ScriptInEra] #
pattern TxAuxScriptsNone :: TxAuxScripts #
pattern ShelleyTxBody :: TxBody LedgerEra -> [Script LedgerEra] -> TxBodyScriptData -> Maybe (AuxiliaryData LedgerEra) -> TxScriptValidity -> TxBody #
txBodyLedgerTxBody :: TxBody -> TxBody LedgerEra #
txBodyScripts :: TxBody -> [Script LedgerEra] #
txBodyAuxiliaryData :: TxBody -> Maybe (AuxiliaryData LedgerEra) #
pattern Tx :: TxBody -> [KeyWitness] -> Tx #
txKeyWitnesses :: Tx -> [KeyWitness] #
pattern PlutusScriptWitness :: PlutusScript -> ScriptDatum witctx -> ScriptRedeemer -> ExecutionUnits -> ScriptWitness witctx #
plutusScriptWitnessScript :: ScriptWitness witctx -> PlutusScript #
plutusScriptWitnessDatum :: ScriptWitness witctx -> ScriptDatum witctx #
plutusScriptWitnessRedeemer :: ScriptWitness witctx -> ScriptRedeemer #
plutusScriptWitnessExecutionUnits :: ScriptWitness witctx -> ExecutionUnits #
pattern PlutusScriptLanguage :: ScriptLanguage #
pattern PlutusScript :: PlutusScript -> Script #
plutusScript :: Script -> PlutusScript #
pattern PlutusScriptSerialised :: ShortByteString -> PlutusScript #
pattern ShelleyKeyWitness :: WitVKey 'Witness StandardCrypto -> KeyWitness #
shelleyKeyWitness :: KeyWitness -> WitVKey 'Witness StandardCrypto #
pattern ShelleyBootstrapWitness :: BootstrapWitness StandardCrypto -> KeyWitness #
shelleyBootstrapWitness :: KeyWitness -> BootstrapWitness StandardCrypto #
pattern BalancedTxBody :: TxBody -> TxOut CtxTx -> Lovelace -> BalancedTxBody #
balancedTxBody :: BalancedTxBody -> TxBody #
balancedTxFee :: BalancedTxBody -> Lovelace #
pattern ShelleyAddressInAnyEra :: AddressTypeInEra ShelleyAddr #
pattern ByronAddressInAnyEra :: AddressTypeInEra ByronAddr #
pattern ByronAddressInEra :: Address ByronAddr -> AddressInEra #
pattern ShelleyAddressInEra :: Address ShelleyAddr -> AddressInEra #
address :: AddressInEra -> Address ShelleyAddr #
UTxO
Newtype with phantom types mostly required to work around the poor interface
of UTXOand provide Monoid and Foldable instances to make utxo
manipulation bareable.
Instances
| Functor UTxO' # | |
| Foldable UTxO' # | |
Defined in Cardano.Api.UTxO Methods fold :: Monoid m => UTxO' m -> m # foldMap :: Monoid m => (a -> m) -> UTxO' a -> m # foldMap' :: Monoid m => (a -> m) -> UTxO' a -> m # foldr :: (a -> b -> b) -> b -> UTxO' a -> b # foldr' :: (a -> b -> b) -> b -> UTxO' a -> b # foldl :: (b -> a -> b) -> b -> UTxO' a -> b # foldl' :: (b -> a -> b) -> b -> UTxO' a -> b # foldr1 :: (a -> a -> a) -> UTxO' a -> a # foldl1 :: (a -> a -> a) -> UTxO' a -> a # elem :: Eq a => a -> UTxO' a -> Bool # maximum :: Ord a => UTxO' a -> a # minimum :: Ord a => UTxO' a -> a # | |
| Traversable UTxO' # | |
| Eq out => Eq (UTxO' out) # | |
| Show out => Show (UTxO' out) # | |
| Semigroup (UTxO' out) # | |
| Monoid (UTxO' out) # | |
Extras
module Hydra.Cardano.Api.Witness
module Hydra.Cardano.Api.Value
module Hydra.Cardano.Api.UTxO
module Hydra.Cardano.Api.TxOutValue
module Hydra.Cardano.Api.TxOutDatum
module Hydra.Cardano.Api.TxOut
module Hydra.Cardano.Api.TxIn
module Hydra.Cardano.Api.TxId
module Hydra.Cardano.Api.TxBody
module Hydra.Cardano.Api.Tx
module Hydra.Cardano.Api.SlotNo
module Hydra.Cardano.Api.ScriptHash
module Hydra.Cardano.Api.ScriptData
module Hydra.Cardano.Api.PolicyId
module Hydra.Cardano.Api.Point
module Hydra.Cardano.Api.Lovelace
module Hydra.Cardano.Api.KeyWitness
module Hydra.Cardano.Api.Hash
module Hydra.Cardano.Api.CtxUTxO
module Hydra.Cardano.Api.CtxTx
Re-exports from cardano-api
Instances
| ToJSON Bool | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Bool -> Encoding # toJSONList :: [Bool] -> Value # toEncodingList :: [Bool] -> Encoding # | |
| ToJSON Char | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Char -> Encoding # toJSONList :: [Char] -> Value # toEncodingList :: [Char] -> Encoding # | |
| ToJSON Double | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Double -> Encoding # toJSONList :: [Double] -> Value # toEncodingList :: [Double] -> Encoding # | |
| ToJSON Float | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Float -> Encoding # toJSONList :: [Float] -> Value # toEncodingList :: [Float] -> Encoding # | |
| ToJSON Int | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Int -> Encoding # toJSONList :: [Int] -> Value # toEncodingList :: [Int] -> Encoding # | |
| ToJSON Int8 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Int8 -> Encoding # toJSONList :: [Int8] -> Value # toEncodingList :: [Int8] -> Encoding # | |
| ToJSON Int16 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Int16 -> Encoding # toJSONList :: [Int16] -> Value # toEncodingList :: [Int16] -> Encoding # | |
| ToJSON Int32 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Int32 -> Encoding # toJSONList :: [Int32] -> Value # toEncodingList :: [Int32] -> Encoding # | |
| ToJSON Int64 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Int64 -> Encoding # toJSONList :: [Int64] -> Value # toEncodingList :: [Int64] -> Encoding # | |
| ToJSON Integer | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Integer -> Encoding # toJSONList :: [Integer] -> Value # toEncodingList :: [Integer] -> Encoding # | |
| ToJSON Natural | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Natural -> Encoding # toJSONList :: [Natural] -> Value # toEncodingList :: [Natural] -> Encoding # | |
| ToJSON Ordering | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Ordering -> Encoding # toJSONList :: [Ordering] -> Value # toEncodingList :: [Ordering] -> Encoding # | |
| ToJSON Word | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Word -> Encoding # toJSONList :: [Word] -> Value # toEncodingList :: [Word] -> Encoding # | |
| ToJSON Word8 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Word8 -> Encoding # toJSONList :: [Word8] -> Value # toEncodingList :: [Word8] -> Encoding # | |
| ToJSON Word16 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Word16 -> Encoding # toJSONList :: [Word16] -> Value # toEncodingList :: [Word16] -> Encoding # | |
| ToJSON Word32 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Word32 -> Encoding # toJSONList :: [Word32] -> Value # toEncodingList :: [Word32] -> Encoding # | |
| ToJSON Word64 | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Word64 -> Encoding # toJSONList :: [Word64] -> Value # toEncodingList :: [Word64] -> Encoding # | |
| ToJSON () | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: () -> Encoding # toJSONList :: [()] -> Value # toEncodingList :: [()] -> Encoding # | |
| ToJSON Version | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Version -> Encoding # toJSONList :: [Version] -> Value # toEncodingList :: [Version] -> Encoding # | |
| ToJSON Void | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Void -> Encoding # toJSONList :: [Void] -> Value # toEncodingList :: [Void] -> Encoding # | |
| ToJSON CTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: CTime -> Encoding # toJSONList :: [CTime] -> Value # toEncodingList :: [CTime] -> Encoding # | |
| ToJSON IntSet | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: IntSet -> Encoding # toJSONList :: [IntSet] -> Value # toEncodingList :: [IntSet] -> Encoding # | |
| ToJSON DiffTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: DiffTime -> Encoding # toJSONList :: [DiffTime] -> Value # toEncodingList :: [DiffTime] -> Encoding # | |
| ToJSON NominalDiffTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: NominalDiffTime -> Value # toEncoding :: NominalDiffTime -> Encoding # toJSONList :: [NominalDiffTime] -> Value # toEncodingList :: [NominalDiffTime] -> Encoding # | |
| ToJSON UTCTime | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: UTCTime -> Encoding # toJSONList :: [UTCTime] -> Value # toEncodingList :: [UTCTime] -> Encoding # | |
| ToJSON Text | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Text -> Encoding # toJSONList :: [Text] -> Value # toEncodingList :: [Text] -> Encoding # | |
| ToJSON Text | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Text -> Encoding # toJSONList :: [Text] -> Value # toEncodingList :: [Text] -> Encoding # | |
| ToJSON ZonedTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: ZonedTime -> Value # toEncoding :: ZonedTime -> Encoding # toJSONList :: [ZonedTime] -> Value # toEncodingList :: [ZonedTime] -> Encoding # | |
| ToJSON LocalTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: LocalTime -> Value # toEncoding :: LocalTime -> Encoding # toJSONList :: [LocalTime] -> Value # toEncodingList :: [LocalTime] -> Encoding # | |
| ToJSON TimeOfDay | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: TimeOfDay -> Value # toEncoding :: TimeOfDay -> Encoding # toJSONList :: [TimeOfDay] -> Value # toEncodingList :: [TimeOfDay] -> Encoding # | |
| ToJSON CalendarDiffTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: CalendarDiffTime -> Value # toEncoding :: CalendarDiffTime -> Encoding # toJSONList :: [CalendarDiffTime] -> Value # toEncodingList :: [CalendarDiffTime] -> Encoding # | |
| ToJSON SystemTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: SystemTime -> Value # toEncoding :: SystemTime -> Encoding # toJSONList :: [SystemTime] -> Value # toEncodingList :: [SystemTime] -> Encoding # | |
| ToJSON DayOfWeek | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: DayOfWeek -> Value # toEncoding :: DayOfWeek -> Encoding # toJSONList :: [DayOfWeek] -> Value # toEncodingList :: [DayOfWeek] -> Encoding # | |
| ToJSON Day | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Day -> Encoding # toJSONList :: [Day] -> Value # toEncodingList :: [Day] -> Encoding # | |
| ToJSON CalendarDiffDays | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: CalendarDiffDays -> Value # toEncoding :: CalendarDiffDays -> Encoding # toJSONList :: [CalendarDiffDays] -> Value # toEncodingList :: [CalendarDiffDays] -> Encoding # | |
| ToJSON Value | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Value -> Encoding # toJSONList :: [Value] -> Value # toEncodingList :: [Value] -> Encoding # | |
| ToJSON StakeAddress | |
Defined in Cardano.Api.Address Methods toJSON :: StakeAddress -> Value # toEncoding :: StakeAddress -> Encoding # toJSONList :: [StakeAddress] -> Value # toEncodingList :: [StakeAddress] -> Encoding # | |
| ToJSON ChainTip | |
Defined in Cardano.Api.Block Methods toEncoding :: ChainTip -> Encoding # toJSONList :: [ChainTip] -> Value # toEncodingList :: [ChainTip] -> Encoding # | |
| ToJSON AnyCardanoEra | |
Defined in Cardano.Api.Eras Methods toJSON :: AnyCardanoEra -> Value # toEncoding :: AnyCardanoEra -> Encoding # toJSONList :: [AnyCardanoEra] -> Value # toEncodingList :: [AnyCardanoEra] -> Encoding # | |
| ToJSON CostModel | |
Defined in Cardano.Api.ProtocolParameters Methods toJSON :: CostModel -> Value # toEncoding :: CostModel -> Encoding # toJSONList :: [CostModel] -> Value # toEncodingList :: [CostModel] -> Encoding # | |
| ToJSON ExecutionUnitPrices | |
Defined in Cardano.Api.ProtocolParameters Methods toJSON :: ExecutionUnitPrices -> Value # toEncoding :: ExecutionUnitPrices -> Encoding # toJSONList :: [ExecutionUnitPrices] -> Value # toEncodingList :: [ExecutionUnitPrices] -> Encoding # | |
| ToJSON PraosNonce | |
Defined in Cardano.Api.ProtocolParameters Methods toJSON :: PraosNonce -> Value # toEncoding :: PraosNonce -> Encoding # toJSONList :: [PraosNonce] -> Value # toEncodingList :: [PraosNonce] -> Encoding # | |
| ToJSON AnyPlutusScriptVersion | |
Defined in Cardano.Api.Script Methods toJSON :: AnyPlutusScriptVersion -> Value # toEncoding :: AnyPlutusScriptVersion -> Encoding # toJSONList :: [AnyPlutusScriptVersion] -> Value # toEncodingList :: [AnyPlutusScriptVersion] -> Encoding # | |
| ToJSON ExecutionUnits | |
Defined in Cardano.Api.Script Methods toJSON :: ExecutionUnits -> Value # toEncoding :: ExecutionUnits -> Encoding # toJSONList :: [ExecutionUnits] -> Value # toEncodingList :: [ExecutionUnits] -> Encoding # | |
| ToJSON ScriptHash | |
Defined in Cardano.Api.Script Methods toJSON :: ScriptHash -> Value # toEncoding :: ScriptHash -> Encoding # toJSONList :: [ScriptHash] -> Value # toEncodingList :: [ScriptHash] -> Encoding # | |
| ToJSON TextEnvelope | |
Defined in Cardano.Api.SerialiseTextEnvelope Methods toJSON :: TextEnvelope -> Value # toEncoding :: TextEnvelope -> Encoding # toJSONList :: [TextEnvelope] -> Value # toEncodingList :: [TextEnvelope] -> Encoding # | |
| ToJSON TextEnvelopeDescr | |
Defined in Cardano.Api.SerialiseTextEnvelope Methods toJSON :: TextEnvelopeDescr -> Value # toEncoding :: TextEnvelopeDescr -> Encoding # toJSONList :: [TextEnvelopeDescr] -> Value # toEncodingList :: [TextEnvelopeDescr] -> Encoding # | |
| ToJSON TextEnvelopeType | |
Defined in Cardano.Api.SerialiseTextEnvelope Methods toJSON :: TextEnvelopeType -> Value # toEncoding :: TextEnvelopeType -> Encoding # toJSONList :: [TextEnvelopeType] -> Value # toEncodingList :: [TextEnvelopeType] -> Encoding # | |
| ToJSON TxId | |
Defined in Cardano.Api.TxBody Methods toEncoding :: TxId -> Encoding # toJSONList :: [TxId] -> Value # toEncodingList :: [TxId] -> Encoding # | |
| ToJSON TxIn | |
Defined in Cardano.Api.TxBody Methods toEncoding :: TxIn -> Encoding # toJSONList :: [TxIn] -> Value # toEncodingList :: [TxIn] -> Encoding # | |
| ToJSON TxIx | |
Defined in Cardano.Api.TxBody Methods toEncoding :: TxIx -> Encoding # toJSONList :: [TxIx] -> Value # toEncodingList :: [TxIx] -> Encoding # | |
| ToJSON AssetName | |
Defined in Cardano.Api.Value Methods toJSON :: AssetName -> Value # toEncoding :: AssetName -> Encoding # toJSONList :: [AssetName] -> Value # toEncodingList :: [AssetName] -> Encoding # | |
| ToJSON Lovelace | |
Defined in Cardano.Api.Value Methods toEncoding :: Lovelace -> Encoding # toJSONList :: [Lovelace] -> Value # toEncodingList :: [Lovelace] -> Encoding # | |
| ToJSON PolicyId | |
Defined in Cardano.Api.Value Methods toEncoding :: PolicyId -> Encoding # toJSONList :: [PolicyId] -> Value # toEncodingList :: [PolicyId] -> Encoding # | |
| ToJSON Quantity | |
Defined in Cardano.Api.Value Methods toEncoding :: Quantity -> Encoding # toJSONList :: [Quantity] -> Value # toEncodingList :: [Quantity] -> Encoding # | |
| ToJSON Value | |
Defined in Cardano.Api.Value Methods toEncoding :: Value -> Encoding # toJSONList :: [Value] -> Value0 # toEncodingList :: [Value] -> Encoding # | |
| ToJSON ValueNestedRep | |
Defined in Cardano.Api.Value Methods toJSON :: ValueNestedRep -> Value # toEncoding :: ValueNestedRep -> Encoding # toJSONList :: [ValueNestedRep] -> Value # toEncodingList :: [ValueNestedRep] -> Encoding # | |
| ToJSON EpochNo | |
Defined in Cardano.Slotting.Slot Methods toEncoding :: EpochNo -> Encoding # toJSONList :: [EpochNo] -> Value # toEncodingList :: [EpochNo] -> Encoding # | |
| ToJSON SlotNo | |
Defined in Cardano.Slotting.Slot Methods toEncoding :: SlotNo -> Encoding # toJSONList :: [SlotNo] -> Value # toEncodingList :: [SlotNo] -> Encoding # | |
| ToJSON Scientific | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Scientific -> Value # toEncoding :: Scientific -> Encoding # toJSONList :: [Scientific] -> Value # toEncodingList :: [Scientific] -> Encoding # | |
| ToJSON Month | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Month -> Encoding # toJSONList :: [Month] -> Value # toEncodingList :: [Month] -> Encoding # | |
| ToJSON Quarter | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Quarter -> Encoding # toJSONList :: [Quarter] -> Value # toEncodingList :: [Quarter] -> Encoding # | |
| ToJSON QuarterOfYear | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: QuarterOfYear -> Value # toEncoding :: QuarterOfYear -> Encoding # toJSONList :: [QuarterOfYear] -> Value # toEncodingList :: [QuarterOfYear] -> Encoding # | |
| ToJSON UUID | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: UUID -> Encoding # toJSONList :: [UUID] -> Value # toEncodingList :: [UUID] -> Encoding # | |
| ToJSON RequiresNetworkMagic | |
Defined in Cardano.Crypto.ProtocolMagic Methods toJSON :: RequiresNetworkMagic -> Value # toEncoding :: RequiresNetworkMagic -> Encoding # toJSONList :: [RequiresNetworkMagic] -> Value # toEncodingList :: [RequiresNetworkMagic] -> Encoding # | |
| ToJSON ProtocolVersion | |
Defined in Cardano.Chain.Update.ProtocolVersion Methods toJSON :: ProtocolVersion -> Value # toEncoding :: ProtocolVersion -> Encoding # toJSONList :: [ProtocolVersion] -> Value # toEncodingList :: [ProtocolVersion] -> Encoding # | |
| ToJSON ProtocolMagicId | |
Defined in Cardano.Crypto.ProtocolMagic Methods toJSON :: ProtocolMagicId -> Value # toEncoding :: ProtocolMagicId -> Encoding # toJSONList :: [ProtocolMagicId] -> Value # toEncodingList :: [ProtocolMagicId] -> Encoding # | |
| ToJSON SoftwareVersion | |
Defined in Cardano.Chain.Update.SoftwareVersion Methods toJSON :: SoftwareVersion -> Value # toEncoding :: SoftwareVersion -> Encoding # toJSONList :: [SoftwareVersion] -> Value # toEncodingList :: [SoftwareVersion] -> Encoding # | |
| ToJSON CompactRedeemVerificationKey | |
Defined in Cardano.Crypto.Signing.Redeem.Compact Methods toJSON :: CompactRedeemVerificationKey -> Value # toEncoding :: CompactRedeemVerificationKey -> Encoding # toJSONList :: [CompactRedeemVerificationKey] -> Value # toEncodingList :: [CompactRedeemVerificationKey] -> Encoding # | |
| ToJSON Lovelace | |
Defined in Cardano.Chain.Common.Lovelace Methods toEncoding :: Lovelace -> Encoding # toJSONList :: [Lovelace] -> Value # toEncodingList :: [Lovelace] -> Encoding # | |
| ToJSON VerificationKey | |
Defined in Cardano.Crypto.Signing.VerificationKey Methods toJSON :: VerificationKey -> Value # toEncoding :: VerificationKey -> Encoding # toJSONList :: [VerificationKey] -> Value # toEncodingList :: [VerificationKey] -> Encoding # | |
| ToJSON GenesisHash | |
Defined in Cardano.Chain.Genesis.Hash Methods toJSON :: GenesisHash -> Value # toEncoding :: GenesisHash -> Encoding # toJSONList :: [GenesisHash] -> Value # toEncodingList :: [GenesisHash] -> Encoding # | |
| ToJSON SlotNumber | |
Defined in Cardano.Chain.Slotting.SlotNumber Methods toJSON :: SlotNumber -> Value # toEncoding :: SlotNumber -> Encoding # toJSONList :: [SlotNumber] -> Value # toEncodingList :: [SlotNumber] -> Encoding # | |
| ToJSON Tx | |
Defined in Cardano.Chain.UTxO.Tx Methods toEncoding :: Tx -> Encoding # toJSONList :: [Tx] -> Value # toEncodingList :: [Tx] -> Encoding # | |
| ToJSON ByteSpan | |
Defined in Cardano.Binary.Annotated Methods toEncoding :: ByteSpan -> Encoding # toJSONList :: [ByteSpan] -> Value # toEncodingList :: [ByteSpan] -> Encoding # | |
| ToJSON EpochNumber | |
Defined in Cardano.Chain.Slotting.EpochNumber Methods toJSON :: EpochNumber -> Value # toEncoding :: EpochNumber -> Encoding # toJSONList :: [EpochNumber] -> Value # toEncodingList :: [EpochNumber] -> Encoding # | |
| ToJSON ProtocolMagic | |
Defined in Cardano.Crypto.ProtocolMagic Methods toJSON :: ProtocolMagic -> Value # toEncoding :: ProtocolMagic -> Encoding # toJSONList :: [ProtocolMagic] -> Value # toEncodingList :: [ProtocolMagic] -> Encoding # | |
| ToJSON PositiveUnitInterval | |
Defined in Cardano.Ledger.BaseTypes Methods toJSON :: PositiveUnitInterval -> Value # toEncoding :: PositiveUnitInterval -> Encoding # toJSONList :: [PositiveUnitInterval] -> Value # toEncodingList :: [PositiveUnitInterval] -> Encoding # | |
| ToJSON Network | |
Defined in Cardano.Ledger.BaseTypes Methods toEncoding :: Network -> Encoding # toJSONList :: [Network] -> Value # toEncodingList :: [Network] -> Encoding # | |
| ToJSON Coin | |
Defined in Cardano.Ledger.Coin Methods toEncoding :: Coin -> Encoding # toJSONList :: [Coin] -> Value # toEncodingList :: [Coin] -> Encoding # | |
| ToJSON Nonce | |
Defined in Cardano.Ledger.BaseTypes Methods toEncoding :: Nonce -> Encoding # toJSONList :: [Nonce] -> Value # toEncodingList :: [Nonce] -> Encoding # | |
| ToJSON ProtVer | |
Defined in Cardano.Ledger.BaseTypes Methods toEncoding :: ProtVer -> Encoding # toJSONList :: [ProtVer] -> Value # toEncodingList :: [ProtVer] -> Encoding # | |
| ToJSON UnitInterval | |
Defined in Cardano.Ledger.BaseTypes Methods toJSON :: UnitInterval -> Value # toEncoding :: UnitInterval -> Encoding # toJSONList :: [UnitInterval] -> Value # toEncodingList :: [UnitInterval] -> Encoding # | |
| ToJSON NonNegativeInterval | |
Defined in Cardano.Ledger.BaseTypes Methods toJSON :: NonNegativeInterval -> Value # toEncoding :: NonNegativeInterval -> Encoding # toJSONList :: [NonNegativeInterval] -> Value # toEncodingList :: [NonNegativeInterval] -> Encoding # | |
| ToJSON StakePoolRelay | |
Defined in Cardano.Ledger.Shelley.TxBody Methods toJSON :: StakePoolRelay -> Value # toEncoding :: StakePoolRelay -> Encoding # toJSONList :: [StakePoolRelay] -> Value # toEncodingList :: [StakePoolRelay] -> Encoding # | |
| ToJSON RewardParams | |
Defined in Cardano.Ledger.Shelley.API.Wallet Methods toJSON :: RewardParams -> Value # toEncoding :: RewardParams -> Encoding # toJSONList :: [RewardParams] -> Value # toEncodingList :: [RewardParams] -> Encoding # | |
| ToJSON RewardInfoPool | |
Defined in Cardano.Ledger.Shelley.API.Wallet Methods toJSON :: RewardInfoPool -> Value # toEncoding :: RewardInfoPool -> Encoding # toJSONList :: [RewardInfoPool] -> Value # toEncodingList :: [RewardInfoPool] -> Encoding # | |
| ToJSON AssetClass | |
Defined in Plutus.V1.Ledger.Value Methods toJSON :: AssetClass -> Value # toEncoding :: AssetClass -> Encoding # toJSONList :: [AssetClass] -> Value # toEncodingList :: [AssetClass] -> Encoding # | |
| ToJSON CurrencySymbol | |
Defined in Plutus.V1.Ledger.Value Methods toJSON :: CurrencySymbol -> Value # toEncoding :: CurrencySymbol -> Encoding # toJSONList :: [CurrencySymbol] -> Value # toEncodingList :: [CurrencySymbol] -> Encoding # | |
| ToJSON TokenName | |
Defined in Plutus.V1.Ledger.Value Methods toJSON :: TokenName -> Value # toEncoding :: TokenName -> Encoding # toJSONList :: [TokenName] -> Value # toEncodingList :: [TokenName] -> Encoding # | |
| ToJSON Value | |
Defined in Plutus.V1.Ledger.Value Methods toEncoding :: Value -> Encoding # toJSONList :: [Value] -> Value0 # toEncodingList :: [Value] -> Encoding # | |
| ToJSON MintingPolicyHash | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON :: MintingPolicyHash -> Value # toEncoding :: MintingPolicyHash -> Encoding # toJSONList :: [MintingPolicyHash] -> Value # toEncodingList :: [MintingPolicyHash] -> Encoding # | |
| ToJSON Context | |
Defined in Plutus.V1.Ledger.Scripts Methods toEncoding :: Context -> Encoding # toJSONList :: [Context] -> Value # toEncodingList :: [Context] -> Encoding # | |
| ToJSON Datum | |
Defined in Plutus.V1.Ledger.Scripts Methods toEncoding :: Datum -> Encoding # toJSONList :: [Datum] -> Value # toEncodingList :: [Datum] -> Encoding # | |
| ToJSON DatumHash | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON :: DatumHash -> Value # toEncoding :: DatumHash -> Encoding # toJSONList :: [DatumHash] -> Value # toEncodingList :: [DatumHash] -> Encoding # | |
| ToJSON MintingPolicy | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON :: MintingPolicy -> Value # toEncoding :: MintingPolicy -> Encoding # toJSONList :: [MintingPolicy] -> Value # toEncodingList :: [MintingPolicy] -> Encoding # | |
| ToJSON Redeemer | |
Defined in Plutus.V1.Ledger.Scripts Methods toEncoding :: Redeemer -> Encoding # toJSONList :: [Redeemer] -> Value # toEncodingList :: [Redeemer] -> Encoding # | |
| ToJSON RedeemerHash | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON :: RedeemerHash -> Value # toEncoding :: RedeemerHash -> Encoding # toJSONList :: [RedeemerHash] -> Value # toEncodingList :: [RedeemerHash] -> Encoding # | |
| ToJSON Script | |
Defined in Plutus.V1.Ledger.Scripts Methods toEncoding :: Script -> Encoding # toJSONList :: [Script] -> Value # toEncodingList :: [Script] -> Encoding # | |
| ToJSON ScriptError | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON :: ScriptError -> Value # toEncoding :: ScriptError -> Encoding # toJSONList :: [ScriptError] -> Value # toEncodingList :: [ScriptError] -> Encoding # | |
| ToJSON ScriptHash | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON :: ScriptHash -> Value # toEncoding :: ScriptHash -> Encoding # toJSONList :: [ScriptHash] -> Value # toEncodingList :: [ScriptHash] -> Encoding # | |
| ToJSON StakeValidator | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON :: StakeValidator -> Value # toEncoding :: StakeValidator -> Encoding # toJSONList :: [StakeValidator] -> Value # toEncodingList :: [StakeValidator] -> Encoding # | |
| ToJSON StakeValidatorHash | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON :: StakeValidatorHash -> Value # toEncoding :: StakeValidatorHash -> Encoding # toJSONList :: [StakeValidatorHash] -> Value # toEncodingList :: [StakeValidatorHash] -> Encoding # | |
| ToJSON Validator | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON :: Validator -> Value # toEncoding :: Validator -> Encoding # toJSONList :: [Validator] -> Value # toEncodingList :: [Validator] -> Encoding # | |
| ToJSON ValidatorHash | |
Defined in Plutus.V1.Ledger.Scripts Methods toJSON :: ValidatorHash -> Value # toEncoding :: ValidatorHash -> Encoding # toJSONList :: [ValidatorHash] -> Value # toEncodingList :: [ValidatorHash] -> Encoding # | |
| ToJSON ExBudget | |
Defined in PlutusCore.Evaluation.Machine.ExBudget Methods toEncoding :: ExBudget -> Encoding # toJSONList :: [ExBudget] -> Value # toEncodingList :: [ExBudget] -> Encoding # | |
| ToJSON ExCPU | |
Defined in PlutusCore.Evaluation.Machine.ExMemory Methods toEncoding :: ExCPU -> Encoding # toJSONList :: [ExCPU] -> Value # toEncodingList :: [ExCPU] -> Encoding # | |
| ToJSON ExMemory | |
Defined in PlutusCore.Evaluation.Machine.ExMemory Methods toEncoding :: ExMemory -> Encoding # toJSONList :: [ExMemory] -> Value # toEncodingList :: [ExMemory] -> Encoding # | |
| ToJSON Desirability | |
Defined in Cardano.Ledger.Shelley.RewardProvenance Methods toJSON :: Desirability -> Value # toEncoding :: Desirability -> Encoding # toJSONList :: [Desirability] -> Value # toEncodingList :: [Desirability] -> Encoding # | |
| ToJSON PoolMetadata | |
Defined in Cardano.Ledger.Shelley.TxBody Methods toJSON :: PoolMetadata -> Value # toEncoding :: PoolMetadata -> Encoding # toJSONList :: [PoolMetadata] -> Value # toEncodingList :: [PoolMetadata] -> Encoding # | |
| ToJSON EpochSize | |
Defined in Cardano.Slotting.Slot Methods toJSON :: EpochSize -> Value # toEncoding :: EpochSize -> Encoding # toJSONList :: [EpochSize] -> Value # toEncodingList :: [EpochSize] -> Encoding # | |
| ToJSON Number | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Number -> Encoding # toJSONList :: [Number] -> Value # toEncodingList :: [Number] -> Encoding # | |
| ToJSON ByteString64 | |
Defined in Data.ByteString.Base64.Type Methods toJSON :: ByteString64 -> Value # toEncoding :: ByteString64 -> Encoding # toJSONList :: [ByteString64] -> Value # toEncodingList :: [ByteString64] -> Encoding # | |
| ToJSON Address | |
Defined in Cardano.Chain.Common.Address Methods toEncoding :: Address -> Encoding # toJSONList :: [Address] -> Value # toEncodingList :: [Address] -> Encoding # | |
| ToJSON NetworkMagic | |
Defined in Cardano.Chain.Common.NetworkMagic Methods toJSON :: NetworkMagic -> Value # toEncoding :: NetworkMagic -> Encoding # toJSONList :: [NetworkMagic] -> Value # toEncodingList :: [NetworkMagic] -> Encoding # | |
| ToJSON AddrAttributes | |
Defined in Cardano.Chain.Common.AddrAttributes Methods toJSON :: AddrAttributes -> Value # toEncoding :: AddrAttributes -> Encoding # toJSONList :: [AddrAttributes] -> Value # toEncodingList :: [AddrAttributes] -> Encoding # | |
| ToJSON HDAddressPayload | |
Defined in Cardano.Chain.Common.AddrAttributes Methods toJSON :: HDAddressPayload -> Value # toEncoding :: HDAddressPayload -> Encoding # toJSONList :: [HDAddressPayload] -> Value # toEncodingList :: [HDAddressPayload] -> Encoding # | |
| ToJSON PubKeyHash | |
Defined in Plutus.V1.Ledger.Crypto Methods toJSON :: PubKeyHash -> Value # toEncoding :: PubKeyHash -> Encoding # toJSONList :: [PubKeyHash] -> Value # toEncodingList :: [PubKeyHash] -> Encoding # | |
| ToJSON Url | |
Defined in Cardano.Ledger.BaseTypes Methods toEncoding :: Url -> Encoding # toJSONList :: [Url] -> Value # toEncodingList :: [Url] -> Encoding # | |
| ToJSON ProtocolParameters | |
Defined in Cardano.Api.ProtocolParameters Methods toJSON :: ProtocolParameters -> Value # toEncoding :: ProtocolParameters -> Encoding # toJSONList :: [ProtocolParameters] -> Value # toEncodingList :: [ProtocolParameters] -> Encoding # | |
| ToJSON CekMachineCosts | |
Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts Methods toJSON :: CekMachineCosts -> Value # toEncoding :: CekMachineCosts -> Encoding # toJSONList :: [CekMachineCosts] -> Value # toEncodingList :: [CekMachineCosts] -> Encoding # | |
| ToJSON TxInWitness | |
Defined in Cardano.Chain.UTxO.TxWitness Methods toJSON :: TxInWitness -> Value # toEncoding :: TxInWitness -> Encoding # toJSONList :: [TxInWitness] -> Value # toEncodingList :: [TxInWitness] -> Encoding # | |
| ToJSON TxSigData | |
Defined in Cardano.Chain.UTxO.TxWitness Methods toJSON :: TxSigData -> Value # toEncoding :: TxSigData -> Encoding # toJSONList :: [TxSigData] -> Value # toEncodingList :: [TxSigData] -> Encoding # | |
| ToJSON TxIn | |
Defined in Cardano.Chain.UTxO.Tx Methods toEncoding :: TxIn -> Encoding # toJSONList :: [TxIn] -> Value # toEncodingList :: [TxIn] -> Encoding # | |
| ToJSON RedeemVerificationKey | |
Defined in Cardano.Crypto.Signing.Redeem.VerificationKey Methods toJSON :: RedeemVerificationKey -> Value # toEncoding :: RedeemVerificationKey -> Encoding # toJSONList :: [RedeemVerificationKey] -> Value # toEncodingList :: [RedeemVerificationKey] -> Encoding # | |
| ToJSON StakingCredential | |
Defined in Plutus.V1.Ledger.Credential Methods toJSON :: StakingCredential -> Value # toEncoding :: StakingCredential -> Encoding # toJSONList :: [StakingCredential] -> Value # toEncodingList :: [StakingCredential] -> Encoding # | |
| ToJSON POSIXTime | |
Defined in Plutus.V1.Ledger.Time Methods toJSON :: POSIXTime -> Value # toEncoding :: POSIXTime -> Encoding # toJSONList :: [POSIXTime] -> Value # toEncodingList :: [POSIXTime] -> Encoding # | |
| ToJSON TxOut | |
Defined in Plutus.V1.Ledger.Tx Methods toEncoding :: TxOut -> Encoding # toJSONList :: [TxOut] -> Value # toEncodingList :: [TxOut] -> Encoding # | |
| ToJSON Address | |
Defined in Plutus.V1.Ledger.Address Methods toEncoding :: Address -> Encoding # toJSONList :: [Address] -> Value # toEncodingList :: [Address] -> Encoding # | |
| ToJSON Credential | |
Defined in Plutus.V1.Ledger.Credential Methods toJSON :: Credential -> Value # toEncoding :: Credential -> Encoding # toJSONList :: [Credential] -> Value # toEncodingList :: [Credential] -> Encoding # | |
| ToJSON DCert | |
Defined in Plutus.V1.Ledger.DCert Methods toEncoding :: DCert -> Encoding # toJSONList :: [DCert] -> Value # toEncodingList :: [DCert] -> Encoding # | |
| ToJSON TxId | |
Defined in Plutus.V1.Ledger.TxId Methods toEncoding :: TxId -> Encoding # toJSONList :: [TxId] -> Value # toEncodingList :: [TxId] -> Encoding # | |
| ToJSON TxOutRef | |
Defined in Plutus.V1.Ledger.Tx Methods toEncoding :: TxOutRef -> Encoding # toJSONList :: [TxOutRef] -> Value # toEncodingList :: [TxOutRef] -> Encoding # | |
| ToJSON ChainDifficulty | |
Defined in Cardano.Chain.Common.ChainDifficulty Methods toJSON :: ChainDifficulty -> Value # toEncoding :: ChainDifficulty -> Encoding # toJSONList :: [ChainDifficulty] -> Value # toEncodingList :: [ChainDifficulty] -> Encoding # | |
| ToJSON Proof | |
Defined in Cardano.Chain.Block.Proof Methods toEncoding :: Proof -> Encoding # toJSONList :: [Proof] -> Value # toEncodingList :: [Proof] -> Encoding # | |
| ToJSON SscPayload | |
Defined in Cardano.Chain.Ssc Methods toJSON :: SscPayload -> Value # toEncoding :: SscPayload -> Encoding # toJSONList :: [SscPayload] -> Value # toEncodingList :: [SscPayload] -> Encoding # | |
| ToJSON ProposalBody | |
Defined in Cardano.Chain.Update.Proposal Methods toJSON :: ProposalBody -> Value # toEncoding :: ProposalBody -> Encoding # toJSONList :: [ProposalBody] -> Value # toEncodingList :: [ProposalBody] -> Encoding # | |
| ToJSON TxProof | |
Defined in Cardano.Chain.UTxO.TxProof Methods toEncoding :: TxProof -> Encoding # toJSONList :: [TxProof] -> Value # toEncodingList :: [TxProof] -> Encoding # | |
| ToJSON SscProof | |
Defined in Cardano.Chain.Ssc Methods toEncoding :: SscProof -> Encoding # toJSONList :: [SscProof] -> Value # toEncodingList :: [SscProof] -> Encoding # | |
| ToJSON ApplicationName | |
Defined in Cardano.Chain.Update.ApplicationName Methods toJSON :: ApplicationName -> Value # toEncoding :: ApplicationName -> Encoding # toJSONList :: [ApplicationName] -> Value # toEncodingList :: [ApplicationName] -> Encoding # | |
| ToJSON UnparsedFields | |
Defined in Cardano.Chain.Common.Attributes Methods toJSON :: UnparsedFields -> Value # toEncoding :: UnparsedFields -> Encoding # toJSONList :: [UnparsedFields] -> Value # toEncodingList :: [UnparsedFields] -> Encoding # | |
| ToJSON AddrType | |
Defined in Cardano.Chain.Common.AddrSpendingData Methods toEncoding :: AddrType -> Encoding # toJSONList :: [AddrType] -> Value # toEncodingList :: [AddrType] -> Encoding # | |
| ToJSON LovelacePortion | |
Defined in Cardano.Chain.Common.LovelacePortion Methods toJSON :: LovelacePortion -> Value # toEncoding :: LovelacePortion -> Encoding # toJSONList :: [LovelacePortion] -> Value # toEncodingList :: [LovelacePortion] -> Encoding # | |
| ToJSON TxFeePolicy | |
Defined in Cardano.Chain.Common.TxFeePolicy Methods toJSON :: TxFeePolicy -> Value # toEncoding :: TxFeePolicy -> Encoding # toJSONList :: [TxFeePolicy] -> Value # toEncodingList :: [TxFeePolicy] -> Encoding # | |
| ToJSON TxSizeLinear | |
Defined in Cardano.Chain.Common.TxSizeLinear Methods toJSON :: TxSizeLinear -> Value # toEncoding :: TxSizeLinear -> Encoding # toJSONList :: [TxSizeLinear] -> Value # toEncodingList :: [TxSizeLinear] -> Encoding # | |
| ToJSON TxOut | |
Defined in Cardano.Chain.UTxO.Tx Methods toEncoding :: TxOut -> Encoding # toJSONList :: [TxOut] -> Value # toEncodingList :: [TxOut] -> Encoding # | |
| ToJSON InstallerHash | |
Defined in Cardano.Chain.Update.InstallerHash Methods toJSON :: InstallerHash -> Value # toEncoding :: InstallerHash -> Encoding # toJSONList :: [InstallerHash] -> Value # toEncodingList :: [InstallerHash] -> Encoding # | |
| ToJSON SystemTag | |
Defined in Cardano.Chain.Update.SystemTag Methods toJSON :: SystemTag -> Value # toEncoding :: SystemTag -> Encoding # toJSONList :: [SystemTag] -> Value # toEncodingList :: [SystemTag] -> Encoding # | |
| ToJSON ProtocolParametersUpdate | |
Defined in Cardano.Chain.Update.ProtocolParametersUpdate Methods toJSON :: ProtocolParametersUpdate -> Value # toEncoding :: ProtocolParametersUpdate -> Encoding # toJSONList :: [ProtocolParametersUpdate] -> Value # toEncodingList :: [ProtocolParametersUpdate] -> Encoding # | |
| ToJSON SoftforkRule | |
Defined in Cardano.Chain.Update.SoftforkRule Methods toJSON :: SoftforkRule -> Value # toEncoding :: SoftforkRule -> Encoding # toJSONList :: [SoftforkRule] -> Value # toEncodingList :: [SoftforkRule] -> Encoding # | |
| ToJSON DnsName | |
Defined in Cardano.Ledger.BaseTypes Methods toEncoding :: DnsName -> Encoding # toJSONList :: [DnsName] -> Value # toEncodingList :: [DnsName] -> Encoding # | |
| ToJSON Port | |
Defined in Cardano.Ledger.BaseTypes Methods toEncoding :: Port -> Encoding # toJSONList :: [Port] -> Value # toEncodingList :: [Port] -> Encoding # | |
| ToJSON PositiveInterval | |
Defined in Cardano.Ledger.BaseTypes Methods toJSON :: PositiveInterval -> Value # toEncoding :: PositiveInterval -> Encoding # toJSONList :: [PositiveInterval] -> Value # toEncodingList :: [PositiveInterval] -> Encoding # | |
| ToJSON PeerAdvertise | |
Defined in Ouroboros.Network.PeerSelection.Types Methods toJSON :: PeerAdvertise -> Value # toEncoding :: PeerAdvertise -> Encoding # toJSONList :: [PeerAdvertise] -> Value # toEncodingList :: [PeerAdvertise] -> Encoding # | |
| ToJSON SatInt | |
Defined in Data.SatInt Methods toEncoding :: SatInt -> Encoding # toJSONList :: [SatInt] -> Value # toEncodingList :: [SatInt] -> Encoding # | |
| ToJSON ModelAddedSizes | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: ModelAddedSizes -> Value # toEncoding :: ModelAddedSizes -> Encoding # toJSONList :: [ModelAddedSizes] -> Value # toEncodingList :: [ModelAddedSizes] -> Encoding # | |
| ToJSON ModelConstantOrLinear | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: ModelConstantOrLinear -> Value # toEncoding :: ModelConstantOrLinear -> Encoding # toJSONList :: [ModelConstantOrLinear] -> Value # toEncodingList :: [ModelConstantOrLinear] -> Encoding # | |
| ToJSON ModelConstantOrTwoArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: ModelConstantOrTwoArguments -> Value # toEncoding :: ModelConstantOrTwoArguments -> Encoding # toJSONList :: [ModelConstantOrTwoArguments] -> Value # toEncodingList :: [ModelConstantOrTwoArguments] -> Encoding # | |
| ToJSON ModelFiveArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: ModelFiveArguments -> Value # toEncoding :: ModelFiveArguments -> Encoding # toJSONList :: [ModelFiveArguments] -> Value # toEncodingList :: [ModelFiveArguments] -> Encoding # | |
| ToJSON ModelFourArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: ModelFourArguments -> Value # toEncoding :: ModelFourArguments -> Encoding # toJSONList :: [ModelFourArguments] -> Value # toEncodingList :: [ModelFourArguments] -> Encoding # | |
| ToJSON ModelLinearSize | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: ModelLinearSize -> Value # toEncoding :: ModelLinearSize -> Encoding # toJSONList :: [ModelLinearSize] -> Value # toEncodingList :: [ModelLinearSize] -> Encoding # | |
| ToJSON ModelMaxSize | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: ModelMaxSize -> Value # toEncoding :: ModelMaxSize -> Encoding # toJSONList :: [ModelMaxSize] -> Value # toEncodingList :: [ModelMaxSize] -> Encoding # | |
| ToJSON ModelMinSize | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: ModelMinSize -> Value # toEncoding :: ModelMinSize -> Encoding # toJSONList :: [ModelMinSize] -> Value # toEncodingList :: [ModelMinSize] -> Encoding # | |
| ToJSON ModelMultipliedSizes | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: ModelMultipliedSizes -> Value # toEncoding :: ModelMultipliedSizes -> Encoding # toJSONList :: [ModelMultipliedSizes] -> Value # toEncodingList :: [ModelMultipliedSizes] -> Encoding # | |
| ToJSON ModelOneArgument | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: ModelOneArgument -> Value # toEncoding :: ModelOneArgument -> Encoding # toJSONList :: [ModelOneArgument] -> Value # toEncodingList :: [ModelOneArgument] -> Encoding # | |
| ToJSON ModelSixArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: ModelSixArguments -> Value # toEncoding :: ModelSixArguments -> Encoding # toJSONList :: [ModelSixArguments] -> Value # toEncodingList :: [ModelSixArguments] -> Encoding # | |
| ToJSON ModelSubtractedSizes | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: ModelSubtractedSizes -> Value # toEncoding :: ModelSubtractedSizes -> Encoding # toJSONList :: [ModelSubtractedSizes] -> Value # toEncodingList :: [ModelSubtractedSizes] -> Encoding # | |
| ToJSON ModelThreeArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: ModelThreeArguments -> Value # toEncoding :: ModelThreeArguments -> Encoding # toJSONList :: [ModelThreeArguments] -> Value # toEncodingList :: [ModelThreeArguments] -> Encoding # | |
| ToJSON ModelTwoArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: ModelTwoArguments -> Value # toEncoding :: ModelTwoArguments -> Encoding # toJSONList :: [ModelTwoArguments] -> Value # toEncodingList :: [ModelTwoArguments] -> Encoding # | |
| ToJSON Ada | |
Defined in Plutus.V1.Ledger.Ada Methods toEncoding :: Ada -> Encoding # toJSONList :: [Ada] -> Value # toEncodingList :: [Ada] -> Encoding # | |
| ToJSON LedgerBytes | |
Defined in Plutus.V1.Ledger.Bytes Methods toJSON :: LedgerBytes -> Value # toEncoding :: LedgerBytes -> Encoding # toJSONList :: [LedgerBytes] -> Value # toEncodingList :: [LedgerBytes] -> Encoding # | |
| ToJSON Signature | |
Defined in Plutus.V1.Ledger.Crypto Methods toJSON :: Signature -> Value # toEncoding :: Signature -> Encoding # toJSONList :: [Signature] -> Value # toEncodingList :: [Signature] -> Encoding # | |
| ToJSON PubKey | |
Defined in Plutus.V1.Ledger.Crypto Methods toEncoding :: PubKey -> Encoding # toJSONList :: [PubKey] -> Value # toEncodingList :: [PubKey] -> Encoding # | |
| ToJSON PrivateKey | |
Defined in Plutus.V1.Ledger.Crypto Methods toJSON :: PrivateKey -> Value # toEncoding :: PrivateKey -> Encoding # toJSONList :: [PrivateKey] -> Value # toEncodingList :: [PrivateKey] -> Encoding # | |
| ToJSON Slot | |
Defined in Plutus.V1.Ledger.Slot Methods toEncoding :: Slot -> Encoding # toJSONList :: [Slot] -> Value # toEncodingList :: [Slot] -> Encoding # | |
| ToJSON DiffMilliSeconds | |
Defined in Plutus.V1.Ledger.Time Methods toJSON :: DiffMilliSeconds -> Value # toEncoding :: DiffMilliSeconds -> Encoding # toJSONList :: [DiffMilliSeconds] -> Value # toEncodingList :: [DiffMilliSeconds] -> Encoding # | |
| ToJSON RedeemerPtr | |
Defined in Plutus.V1.Ledger.Tx Methods toJSON :: RedeemerPtr -> Value # toEncoding :: RedeemerPtr -> Encoding # toJSONList :: [RedeemerPtr] -> Value # toEncodingList :: [RedeemerPtr] -> Encoding # | |
| ToJSON ScriptTag | |
Defined in Plutus.V1.Ledger.Tx Methods toJSON :: ScriptTag -> Value # toEncoding :: ScriptTag -> Encoding # toJSONList :: [ScriptTag] -> Value # toEncodingList :: [ScriptTag] -> Encoding # | |
| ToJSON Tx | |
Defined in Plutus.V1.Ledger.Tx Methods toEncoding :: Tx -> Encoding # toJSONList :: [Tx] -> Value # toEncodingList :: [Tx] -> Encoding # | |
| ToJSON TxIn | |
Defined in Plutus.V1.Ledger.Tx Methods toEncoding :: TxIn -> Encoding # toJSONList :: [TxIn] -> Value # toEncodingList :: [TxIn] -> Encoding # | |
| ToJSON TxInType | |
Defined in Plutus.V1.Ledger.Tx Methods toEncoding :: TxInType -> Encoding # toJSONList :: [TxInType] -> Value # toEncodingList :: [TxInType] -> Encoding # | |
| ToJSON TxOutTx | |
Defined in Plutus.V1.Ledger.Tx Methods toEncoding :: TxOutTx -> Encoding # toJSONList :: [TxOutTx] -> Value # toEncodingList :: [TxOutTx] -> Encoding # | |
| ToJSON StudentT | |
Defined in Statistics.Distribution.StudentT Methods toEncoding :: StudentT -> Encoding # toJSONList :: [StudentT] -> Value # toEncodingList :: [StudentT] -> Encoding # | |
| ToJSON DotNetTime | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: DotNetTime -> Value # toEncoding :: DotNetTime -> Encoding # toJSONList :: [DotNetTime] -> Value # toEncodingList :: [DotNetTime] -> Encoding # | |
| ToJSON TextEnvelopeCddl | |
Defined in Cardano.Api.SerialiseLedgerCddl Methods toJSON :: TextEnvelopeCddl -> Value # toEncoding :: TextEnvelopeCddl -> Encoding # toJSONList :: [TextEnvelopeCddl] -> Value # toEncodingList :: [TextEnvelopeCddl] -> Encoding # | |
| ToJSON a => ToJSON [a] | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: [a] -> Encoding # toJSONList :: [[a]] -> Value # toEncodingList :: [[a]] -> Encoding # | |
| ToJSON a => ToJSON (Maybe a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Maybe a -> Encoding # toJSONList :: [Maybe a] -> Value # toEncodingList :: [Maybe a] -> Encoding # | |
| (ToJSON a, Integral a) => ToJSON (Ratio a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Ratio a -> Encoding # toJSONList :: [Ratio a] -> Value # toEncodingList :: [Ratio a] -> Encoding # | |
| ToJSON a => ToJSON (First a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: First a -> Encoding # toJSONList :: [First a] -> Value # toEncodingList :: [First a] -> Encoding # | |
| ToJSON a => ToJSON (Last a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Last a -> Encoding # toJSONList :: [Last a] -> Value # toEncodingList :: [Last a] -> Encoding # | |
| ToJSON a => ToJSON (Set a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Set a -> Encoding # toJSONList :: [Set a] -> Value # toEncodingList :: [Set a] -> Encoding # | |
| ToJSON a => ToJSON (NonEmpty a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: NonEmpty a -> Value # toEncoding :: NonEmpty a -> Encoding # toJSONList :: [NonEmpty a] -> Value # toEncodingList :: [NonEmpty a] -> Encoding # | |
| ToJSON a => ToJSON (Identity a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Identity a -> Value # toEncoding :: Identity a -> Encoding # toJSONList :: [Identity a] -> Value # toEncodingList :: [Identity a] -> Encoding # | |
| ToJSON a => ToJSON (Min a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Min a -> Encoding # toJSONList :: [Min a] -> Value # toEncodingList :: [Min a] -> Encoding # | |
| ToJSON a => ToJSON (Max a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Max a -> Encoding # toJSONList :: [Max a] -> Value # toEncodingList :: [Max a] -> Encoding # | |
| ToJSON a => ToJSON (WrappedMonoid a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: WrappedMonoid a -> Value # toEncoding :: WrappedMonoid a -> Encoding # toJSONList :: [WrappedMonoid a] -> Value # toEncodingList :: [WrappedMonoid a] -> Encoding # | |
| ToJSON a => ToJSON (Option a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Option a -> Encoding # toJSONList :: [Option a] -> Value # toEncodingList :: [Option a] -> Encoding # | |
| ToJSON a => ToJSON (First a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: First a -> Encoding # toJSONList :: [First a] -> Value # toEncodingList :: [First a] -> Encoding # | |
| ToJSON a => ToJSON (Last a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Last a -> Encoding # toJSONList :: [Last a] -> Value # toEncodingList :: [Last a] -> Encoding # | |
| ToJSON a => ToJSON (Dual a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Dual a -> Encoding # toJSONList :: [Dual a] -> Value # toEncodingList :: [Dual a] -> Encoding # | |
| ToJSON a => ToJSON (IntMap a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: IntMap a -> Encoding # toJSONList :: [IntMap a] -> Value # toEncodingList :: [IntMap a] -> Encoding # | |
| ToJSON v => ToJSON (Tree v) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Tree v -> Encoding # toJSONList :: [Tree v] -> Value # toEncodingList :: [Tree v] -> Encoding # | |
| ToJSON a => ToJSON (Seq a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Seq a -> Encoding # toJSONList :: [Seq a] -> Value # toEncodingList :: [Seq a] -> Encoding # | |
| ToJSON a => ToJSON (ReasonablySized a) | |
Defined in Hydra.Prelude Methods toJSON :: ReasonablySized a -> Value # toEncoding :: ReasonablySized a -> Encoding # toJSONList :: [ReasonablySized a] -> Value # toEncodingList :: [ReasonablySized a] -> Encoding # | |
| ToJSON a => ToJSON (HashSet a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: HashSet a -> Value # toEncoding :: HashSet a -> Encoding # toJSONList :: [HashSet a] -> Value # toEncodingList :: [HashSet a] -> Encoding # | |
| ToJSON (Address ByronAddr) # | |
Defined in Hydra.Cardano.Api.Address | |
| IsCardanoEra era => ToJSON (AddressInEra era) | |
Defined in Cardano.Api.Address Methods toJSON :: AddressInEra era -> Value # toEncoding :: AddressInEra era -> Encoding # toJSONList :: [AddressInEra era] -> Value # toEncodingList :: [AddressInEra era] -> Encoding # | |
| ToJSON (CardanoEra era) | |
Defined in Cardano.Api.Eras Methods toJSON :: CardanoEra era -> Value # toEncoding :: CardanoEra era -> Encoding # toJSONList :: [CardanoEra era] -> Value # toEncodingList :: [CardanoEra era] -> Encoding # | |
| ToJSON (Hash BlockHeader) | |
Defined in Cardano.Api.Block Methods toJSON :: Hash BlockHeader -> Value # toEncoding :: Hash BlockHeader -> Encoding # toJSONList :: [Hash BlockHeader] -> Value # toEncodingList :: [Hash BlockHeader] -> Encoding # | |
| ToJSON (Hash ScriptData) | |
Defined in Cardano.Api.ScriptData Methods toJSON :: Hash ScriptData -> Value # toEncoding :: Hash ScriptData -> Encoding # toJSONList :: [Hash ScriptData] -> Value # toEncodingList :: [Hash ScriptData] -> Encoding # | |
| ToJSON (Hash StakePoolKey) | |
Defined in Cardano.Api.KeysShelley Methods toJSON :: Hash StakePoolKey -> Value # toEncoding :: Hash StakePoolKey -> Encoding # toJSONList :: [Hash StakePoolKey] -> Value # toEncodingList :: [Hash StakePoolKey] -> Encoding # | |
| IsCardanoEra era => ToJSON (UTxO era) | |
Defined in Cardano.Api.Query Methods toEncoding :: UTxO era -> Encoding # toJSONList :: [UTxO era] -> Value # toEncodingList :: [UTxO era] -> Encoding # | |
| ToJSON (SimpleScript lang) | |
Defined in Cardano.Api.Script Methods toJSON :: SimpleScript lang -> Value # toEncoding :: SimpleScript lang -> Encoding # toJSONList :: [SimpleScript lang] -> Value # toEncodingList :: [SimpleScript lang] -> Encoding # | |
| ToJSON (MultiAssetSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods toJSON :: MultiAssetSupportedInEra era -> Value # toEncoding :: MultiAssetSupportedInEra era -> Encoding # toJSONList :: [MultiAssetSupportedInEra era] -> Value # toEncodingList :: [MultiAssetSupportedInEra era] -> Encoding # | |
| ToJSON (TxOutValue era) | |
Defined in Cardano.Api.TxBody Methods toJSON :: TxOutValue era -> Value # toEncoding :: TxOutValue era -> Encoding # toJSONList :: [TxOutValue era] -> Value # toEncodingList :: [TxOutValue era] -> Encoding # | |
| ToJSON1 f => ToJSON (Fix f) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Fix f -> Encoding # toJSONList :: [Fix f] -> Value # toEncodingList :: [Fix f] -> Encoding # | |
| (ToJSON1 f, Functor f) => ToJSON (Mu f) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Mu f -> Encoding # toJSONList :: [Mu f] -> Value # toEncodingList :: [Mu f] -> Encoding # | |
| (ToJSON1 f, Functor f) => ToJSON (Nu f) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Nu f -> Encoding # toJSONList :: [Nu f] -> Value # toEncodingList :: [Nu f] -> Encoding # | |
| ToJSON a => ToJSON (Maybe a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Maybe a -> Encoding # toJSONList :: [Maybe a] -> Value # toEncodingList :: [Maybe a] -> Encoding # | |
| ToJSON a => ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Vector a -> Encoding # toJSONList :: [Vector a] -> Value # toEncodingList :: [Vector a] -> Encoding # | |
| (Vector Vector a, ToJSON a) => ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Vector a -> Encoding # toJSONList :: [Vector a] -> Value # toEncodingList :: [Vector a] -> Encoding # | |
| (Storable a, ToJSON a) => ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Vector a -> Encoding # toJSONList :: [Vector a] -> Value # toEncodingList :: [Vector a] -> Encoding # | |
| ToJSON a => ToJSON (AHeader a) | |
Defined in Cardano.Chain.Block.Header Methods toJSON :: AHeader a -> Value # toEncoding :: AHeader a -> Encoding # toJSONList :: [AHeader a] -> Value # toEncodingList :: [AHeader a] -> Encoding # | |
| ToJSON a => ToJSON (ATxAux a) | |
Defined in Cardano.Chain.UTxO.TxAux Methods toEncoding :: ATxAux a -> Encoding # toJSONList :: [ATxAux a] -> Value # toEncodingList :: [ATxAux a] -> Encoding # | |
| ToJSON a => ToJSON (ACertificate a) | |
Defined in Cardano.Chain.Delegation.Certificate Methods toJSON :: ACertificate a -> Value # toEncoding :: ACertificate a -> Encoding # toJSONList :: [ACertificate a] -> Value # toEncodingList :: [ACertificate a] -> Encoding # | |
| ToJSON a => ToJSON (AProposal a) | |
Defined in Cardano.Chain.Update.Proposal Methods toJSON :: AProposal a -> Value # toEncoding :: AProposal a -> Encoding # toJSONList :: [AProposal a] -> Value # toEncodingList :: [AProposal a] -> Encoding # | |
| ToJSON a => ToJSON (AVote a) | |
Defined in Cardano.Chain.Update.Vote Methods toEncoding :: AVote a -> Encoding # toJSONList :: [AVote a] -> Value # toEncodingList :: [AVote a] -> Encoding # | |
| ToJSON a => ToJSON (ABlockOrBoundary a) | |
Defined in Cardano.Chain.Block.Block Methods toJSON :: ABlockOrBoundary a -> Value # toEncoding :: ABlockOrBoundary a -> Encoding # toJSONList :: [ABlockOrBoundary a] -> Value # toEncodingList :: [ABlockOrBoundary a] -> Encoding # | |
| ToJSON a => ToJSON (ABoundaryHeader a) | |
Defined in Cardano.Chain.Block.Header Methods toJSON :: ABoundaryHeader a -> Value # toEncoding :: ABoundaryHeader a -> Encoding # toJSONList :: [ABoundaryHeader a] -> Value # toEncodingList :: [ABoundaryHeader a] -> Encoding # | |
| ToJSON a => ToJSON (ABoundaryBlock a) | |
Defined in Cardano.Chain.Block.Block Methods toJSON :: ABoundaryBlock a -> Value # toEncoding :: ABoundaryBlock a -> Encoding # toJSONList :: [ABoundaryBlock a] -> Value # toEncodingList :: [ABoundaryBlock a] -> Encoding # | |
| ToJSON a => ToJSON (ABlock a) | |
Defined in Cardano.Chain.Block.Block Methods toEncoding :: ABlock a -> Encoding # toJSONList :: [ABlock a] -> Value # toEncodingList :: [ABlock a] -> Encoding # | |
| Crypto crypto => ToJSON (ShelleyGenesisStaking crypto) | |
Defined in Cardano.Ledger.Shelley.Genesis Methods toJSON :: ShelleyGenesisStaking crypto -> Value # toEncoding :: ShelleyGenesisStaking crypto -> Encoding # toJSONList :: [ShelleyGenesisStaking crypto] -> Value # toEncodingList :: [ShelleyGenesisStaking crypto] -> Encoding # | |
| ToJSON (Addr crypto) | |
Defined in Cardano.Ledger.Address Methods toJSON :: Addr crypto -> Value # toEncoding :: Addr crypto -> Encoding # toJSONList :: [Addr crypto] -> Value # toEncodingList :: [Addr crypto] -> Encoding # | |
| Crypto crypto => ToJSON (GenDelegPair crypto) | |
Defined in Cardano.Ledger.Keys Methods toJSON :: GenDelegPair crypto -> Value # toEncoding :: GenDelegPair crypto -> Encoding # toJSONList :: [GenDelegPair crypto] -> Value # toEncodingList :: [GenDelegPair crypto] -> Encoding # | |
| ToJSON (PParams era) | |
Defined in Cardano.Ledger.Shelley.PParams Methods toJSON :: PParams era -> Value # toEncoding :: PParams era -> Encoding # toJSONList :: [PParams era] -> Value # toEncodingList :: [PParams era] -> Encoding # | |
| Era era => ToJSON (ShelleyGenesis era) | |
Defined in Cardano.Ledger.Shelley.Genesis Methods toJSON :: ShelleyGenesis era -> Value # toEncoding :: ShelleyGenesis era -> Encoding # toJSONList :: [ShelleyGenesis era] -> Value # toEncodingList :: [ShelleyGenesis era] -> Encoding # | |
| Crypto crypto => ToJSON (PoolParams crypto) | |
Defined in Cardano.Ledger.Shelley.TxBody Methods toJSON :: PoolParams crypto -> Value # toEncoding :: PoolParams crypto -> Encoding # toJSONList :: [PoolParams crypto] -> Value # toEncodingList :: [PoolParams crypto] -> Encoding # | |
| ToJSON a => ToJSON (StrictMaybe a) | |
Defined in Data.Maybe.Strict Methods toJSON :: StrictMaybe a -> Value # toEncoding :: StrictMaybe a -> Encoding # toJSONList :: [StrictMaybe a] -> Value # toEncodingList :: [StrictMaybe a] -> Encoding # | |
| Crypto crypto => ToJSON (ScriptHash crypto) | |
Defined in Cardano.Ledger.Hashes Methods toJSON :: ScriptHash crypto -> Value # toEncoding :: ScriptHash crypto -> Encoding # toJSONList :: [ScriptHash crypto] -> Value # toEncodingList :: [ScriptHash crypto] -> Encoding # | |
| Crypto crypto => ToJSON (RewardProvenance crypto) | |
Defined in Cardano.Ledger.Shelley.RewardProvenance Methods toJSON :: RewardProvenance crypto -> Value # toEncoding :: RewardProvenance crypto -> Encoding # toJSONList :: [RewardProvenance crypto] -> Value # toEncodingList :: [RewardProvenance crypto] -> Encoding # | |
| Crypto crypto => ToJSON (BlocksMade crypto) | |
Defined in Cardano.Ledger.BaseTypes Methods toJSON :: BlocksMade crypto -> Value # toEncoding :: BlocksMade crypto -> Encoding # toJSONList :: [BlocksMade crypto] -> Value # toEncodingList :: [BlocksMade crypto] -> Encoding # | |
| ToJSON a => ToJSON (DList a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: DList a -> Encoding # toJSONList :: [DList a] -> Value # toEncodingList :: [DList a] -> Encoding # | |
| (Prim a, ToJSON a) => ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Vector a -> Encoding # toJSONList :: [Vector a] -> Value # toEncodingList :: [Vector a] -> Encoding # | |
| Crypto crypto => ToJSON (RewardProvenancePool crypto) | |
Defined in Cardano.Ledger.Shelley.RewardProvenance Methods toJSON :: RewardProvenancePool crypto -> Value # toEncoding :: RewardProvenancePool crypto -> Encoding # toJSONList :: [RewardProvenancePool crypto] -> Value # toEncodingList :: [RewardProvenancePool crypto] -> Encoding # | |
| Crypto crypto => ToJSON (RewardAcnt crypto) | |
Defined in Cardano.Ledger.Address Methods toJSON :: RewardAcnt crypto -> Value # toEncoding :: RewardAcnt crypto -> Encoding # toJSONList :: [RewardAcnt crypto] -> Value # toEncodingList :: [RewardAcnt crypto] -> Encoding # | |
| ToJSON a => ToJSON (SmallArray a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: SmallArray a -> Value # toEncoding :: SmallArray a -> Encoding # toJSONList :: [SmallArray a] -> Value # toEncodingList :: [SmallArray a] -> Encoding # | |
| ToJSON a => ToJSON (RedeemSignature a) | |
Defined in Cardano.Crypto.Signing.Redeem.Signature Methods toJSON :: RedeemSignature a -> Value # toEncoding :: RedeemSignature a -> Encoding # toJSONList :: [RedeemSignature a] -> Value # toEncodingList :: [RedeemSignature a] -> Encoding # | |
| ToJSON (Signature w) | |
Defined in Cardano.Crypto.Signing.Signature Methods toJSON :: Signature w -> Value # toEncoding :: Signature w -> Encoding # toJSONList :: [Signature w] -> Value # toEncodingList :: [Signature w] -> Encoding # | |
| ToJSON a => ToJSON (ABoundaryBody a) | |
Defined in Cardano.Chain.Block.Block Methods toJSON :: ABoundaryBody a -> Value # toEncoding :: ABoundaryBody a -> Encoding # toJSONList :: [ABoundaryBody a] -> Value # toEncodingList :: [ABoundaryBody a] -> Encoding # | |
| ToJSON a => ToJSON (ABody a) | |
Defined in Cardano.Chain.Block.Body Methods toEncoding :: ABody a -> Encoding # toJSONList :: [ABody a] -> Value # toEncodingList :: [ABody a] -> Encoding # | |
| ToJSON a => ToJSON (APayload a) | |
Defined in Cardano.Chain.Delegation.Payload Methods toJSON :: APayload a -> Value # toEncoding :: APayload a -> Encoding # toJSONList :: [APayload a] -> Value # toEncodingList :: [APayload a] -> Encoding # | |
| ToJSON a => ToJSON (ABlockSignature a) | |
Defined in Cardano.Chain.Block.Header Methods toJSON :: ABlockSignature a -> Value # toEncoding :: ABlockSignature a -> Encoding # toJSONList :: [ABlockSignature a] -> Value # toEncodingList :: [ABlockSignature a] -> Encoding # | |
| ToJSON a => ToJSON (ATxPayload a) | |
Defined in Cardano.Chain.UTxO.TxPayload Methods toJSON :: ATxPayload a -> Value # toEncoding :: ATxPayload a -> Encoding # toJSONList :: [ATxPayload a] -> Value # toEncodingList :: [ATxPayload a] -> Encoding # | |
| ToJSON a => ToJSON (APayload a) | |
Defined in Cardano.Chain.Update.Payload Methods toJSON :: APayload a -> Value # toEncoding :: APayload a -> Encoding # toJSONList :: [APayload a] -> Value # toEncodingList :: [APayload a] -> Encoding # | |
| ToJSON a => ToJSON (Attributes a) | |
Defined in Cardano.Chain.Common.Attributes Methods toJSON :: Attributes a -> Value # toEncoding :: Attributes a -> Encoding # toJSONList :: [Attributes a] -> Value # toEncodingList :: [Attributes a] -> Encoding # | |
| ToJSON a => ToJSON (MerkleRoot a) | |
Defined in Cardano.Chain.Common.Merkle Methods toJSON :: MerkleRoot a -> Value # toEncoding :: MerkleRoot a -> Encoding # toJSONList :: [MerkleRoot a] -> Value # toEncodingList :: [MerkleRoot a] -> Encoding # | |
| Crypto crypto => ToJSON (StakeCreds crypto) | |
Defined in Cardano.Ledger.Shelley.TxBody Methods toJSON :: StakeCreds crypto -> Value # toEncoding :: StakeCreds crypto -> Encoding # toJSONList :: [StakeCreds crypto] -> Value # toEncodingList :: [StakeCreds crypto] -> Encoding # | |
| ToJSON (BuiltinCostModelBase CostingFun) | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: BuiltinCostModelBase CostingFun -> Value # toEncoding :: BuiltinCostModelBase CostingFun -> Encoding # toJSONList :: [BuiltinCostModelBase CostingFun] -> Value # toEncodingList :: [BuiltinCostModelBase CostingFun] -> Encoding # | |
| ToJSON model => ToJSON (CostingFun model) | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods toJSON :: CostingFun model -> Value # toEncoding :: CostingFun model -> Encoding # toJSONList :: [CostingFun model] -> Value # toEncodingList :: [CostingFun model] -> Encoding # | |
| ToJSON a => ToJSON (Interval a) | |
Defined in Plutus.V1.Ledger.Interval Methods toJSON :: Interval a -> Value # toEncoding :: Interval a -> Encoding # toJSONList :: [Interval a] -> Value # toEncodingList :: [Interval a] -> Encoding # | |
| ToJSON a => ToJSON (Extended a) | |
Defined in Plutus.V1.Ledger.Interval Methods toJSON :: Extended a -> Value # toEncoding :: Extended a -> Encoding # toJSONList :: [Extended a] -> Value # toEncodingList :: [Extended a] -> Encoding # | |
| ToJSON a => ToJSON (LowerBound a) | |
Defined in Plutus.V1.Ledger.Interval Methods toJSON :: LowerBound a -> Value # toEncoding :: LowerBound a -> Encoding # toJSONList :: [LowerBound a] -> Value # toEncodingList :: [LowerBound a] -> Encoding # | |
| ToJSON a => ToJSON (UpperBound a) | |
Defined in Plutus.V1.Ledger.Interval Methods toJSON :: UpperBound a -> Value # toEncoding :: UpperBound a -> Encoding # toJSONList :: [UpperBound a] -> Value # toEncodingList :: [UpperBound a] -> Encoding # | |
| ToJSON d => ToJSON (LinearTransform d) | |
Defined in Statistics.Distribution.Transform Methods toJSON :: LinearTransform d -> Value # toEncoding :: LinearTransform d -> Encoding # toJSONList :: [LinearTransform d] -> Value # toEncodingList :: [LinearTransform d] -> Encoding # | |
| (Prim a, ToJSON a) => ToJSON (PrimArray a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: PrimArray a -> Value # toEncoding :: PrimArray a -> Encoding # toJSONList :: [PrimArray a] -> Value # toEncodingList :: [PrimArray a] -> Encoding # | |
| (IsShelleyBasedEra era, ShelleyLedgerEra era ~ ledgerera, ShelleyBasedEra ledgerera, ToJSON (PParams ledgerera), ToJSON (PParamsDelta ledgerera), ToJSON (TxOut ledgerera), Share (TxOut (ShelleyLedgerEra era)) ~ Interns (Credential 'Staking (Crypto (ShelleyLedgerEra era)))) => ToJSON (DebugLedgerState era) | |
Defined in Cardano.Api.Query Methods toJSON :: DebugLedgerState era -> Value # toEncoding :: DebugLedgerState era -> Encoding # toJSONList :: [DebugLedgerState era] -> Value # toEncodingList :: [DebugLedgerState era] -> Encoding # | |
| ToJSON a => ToJSON (DNonEmpty a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: DNonEmpty a -> Value # toEncoding :: DNonEmpty a -> Encoding # toJSONList :: [DNonEmpty a] -> Value # toEncodingList :: [DNonEmpty a] -> Encoding # | |
| ToJSON a => ToJSON (Array a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Array a -> Encoding # toJSONList :: [Array a] -> Value # toEncodingList :: [Array a] -> Encoding # | |
| SerialiseAsRawBytes a => ToJSON (UsingRawBytesHex a) # | |
Defined in Hydra.Cardano.Api.UsingRawBytesHex Methods toJSON :: UsingRawBytesHex a -> Value # toEncoding :: UsingRawBytesHex a -> Encoding # toJSONList :: [UsingRawBytesHex a] -> Value # toEncodingList :: [UsingRawBytesHex a] -> Encoding # | |
| (ToJSON a, ToJSON b) => ToJSON (Either a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Either a b -> Value # toEncoding :: Either a b -> Encoding # toJSONList :: [Either a b] -> Value # toEncodingList :: [Either a b] -> Encoding # | |
| (ToJSON a, ToJSON b) => ToJSON (a, b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: (a, b) -> Encoding # toJSONList :: [(a, b)] -> Value # toEncodingList :: [(a, b)] -> Encoding # | |
| (ToJSON v, ToJSONKey k) => ToJSON (Map k v) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Map k v -> Encoding # toJSONList :: [Map k v] -> Value # toEncodingList :: [Map k v] -> Encoding # | |
| ToJSON (Proxy a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Proxy a -> Encoding # toJSONList :: [Proxy a] -> Value # toEncodingList :: [Proxy a] -> Encoding # | |
| HasResolution a => ToJSON (Fixed a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Fixed a -> Encoding # toJSONList :: [Fixed a] -> Value # toEncodingList :: [Fixed a] -> Encoding # | |
| (ToJSON v, ToJSONKey k) => ToJSON (HashMap k v) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: HashMap k v -> Value # toEncoding :: HashMap k v -> Encoding # toJSONList :: [HashMap k v] -> Value # toEncodingList :: [HashMap k v] -> Encoding # | |
| ToJSON (EraInMode era mode) | |
Defined in Cardano.Api.Modes Methods toJSON :: EraInMode era mode -> Value # toEncoding :: EraInMode era mode -> Encoding # toJSONList :: [EraInMode era mode] -> Value # toEncodingList :: [EraInMode era mode] -> Encoding # | |
| IsCardanoEra era => ToJSON (TxOut ctx era) | |
Defined in Cardano.Api.TxBody Methods toJSON :: TxOut ctx era -> Value # toEncoding :: TxOut ctx era -> Encoding # toJSONList :: [TxOut ctx era] -> Value # toEncodingList :: [TxOut ctx era] -> Encoding # | |
| (ToJSON a, ToJSON b) => ToJSON (Either a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Either a b -> Value # toEncoding :: Either a b -> Encoding # toJSONList :: [Either a b] -> Value # toEncodingList :: [Either a b] -> Encoding # | |
| (ToJSON a, ToJSON b) => ToJSON (Pair a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Pair a b -> Encoding # toJSONList :: [Pair a b] -> Value # toEncodingList :: [Pair a b] -> Encoding # | |
| (ToJSON a, ToJSON b) => ToJSON (These a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: These a b -> Value # toEncoding :: These a b -> Encoding # toJSONList :: [These a b] -> Value # toEncodingList :: [These a b] -> Encoding # | |
| (ToJSON a, ToJSON b) => ToJSON (These a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: These a b -> Value # toEncoding :: These a b -> Encoding # toJSONList :: [These a b] -> Value # toEncodingList :: [These a b] -> Encoding # | |
| ToJSON b => ToJSON (Annotated b a) | |
Defined in Cardano.Binary.Annotated Methods toJSON :: Annotated b a -> Value # toEncoding :: Annotated b a -> Encoding # toJSONList :: [Annotated b a] -> Value # toEncodingList :: [Annotated b a] -> Encoding # | |
| ToJSON (AbstractHash algo a) | |
Defined in Cardano.Crypto.Hashing Methods toJSON :: AbstractHash algo a -> Value # toEncoding :: AbstractHash algo a -> Encoding # toJSONList :: [AbstractHash algo a] -> Value # toEncodingList :: [AbstractHash algo a] -> Encoding # | |
| Crypto crypto => ToJSON (KeyHash disc crypto) | |
Defined in Cardano.Ledger.Keys Methods toJSON :: KeyHash disc crypto -> Value # toEncoding :: KeyHash disc crypto -> Encoding # toJSONList :: [KeyHash disc crypto] -> Value # toEncodingList :: [KeyHash disc crypto] -> Encoding # | |
| Crypto crypto => ToJSON (Credential kr crypto) | |
Defined in Cardano.Ledger.Credential Methods toJSON :: Credential kr crypto -> Value # toEncoding :: Credential kr crypto -> Encoding # toJSONList :: [Credential kr crypto] -> Value # toEncodingList :: [Credential kr crypto] -> Encoding # | |
| HashAlgorithm h => ToJSON (Hash h a) | |
Defined in Cardano.Crypto.Hash.Class Methods toEncoding :: Hash h a -> Encoding # toJSONList :: [Hash h a] -> Value # toEncodingList :: [Hash h a] -> Encoding # | |
| ToJSON (BoundedRatio b Word64) | |
Defined in Cardano.Ledger.BaseTypes Methods toJSON :: BoundedRatio b Word64 -> Value # toEncoding :: BoundedRatio b Word64 -> Encoding # toJSONList :: [BoundedRatio b Word64] -> Value # toEncodingList :: [BoundedRatio b Word64] -> Encoding # | |
| (ToJSON a, ToJSONKey k) => ToJSON (MonoidalMap k a) | |
Defined in Data.Map.Monoidal Methods toJSON :: MonoidalMap k a -> Value # toEncoding :: MonoidalMap k a -> Encoding # toJSONList :: [MonoidalMap k a] -> Value # toEncodingList :: [MonoidalMap k a] -> Encoding # | |
| (ToJSON a, ToJSON b, ToJSON c) => ToJSON (a, b, c) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c) -> Value # toEncoding :: (a, b, c) -> Encoding # toJSONList :: [(a, b, c)] -> Value # toEncodingList :: [(a, b, c)] -> Encoding # | |
| ToJSON a => ToJSON (Const a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Const a b -> Value # toEncoding :: Const a b -> Encoding # toJSONList :: [Const a b] -> Value # toEncodingList :: [Const a b] -> Encoding # | |
| ToJSON b => ToJSON (Tagged a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Tagged a b -> Value # toEncoding :: Tagged a b -> Encoding # toJSONList :: [Tagged a b] -> Value # toEncodingList :: [Tagged a b] -> Encoding # | |
| (ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (These1 f g a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: These1 f g a -> Value # toEncoding :: These1 f g a -> Encoding # toJSONList :: [These1 f g a] -> Value # toEncodingList :: [These1 f g a] -> Encoding # | |
| (ToJSON a, ToJSON b, ToJSON c, ToJSON d) => ToJSON (a, b, c, d) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d) -> Value # toEncoding :: (a, b, c, d) -> Encoding # toJSONList :: [(a, b, c, d)] -> Value # toEncodingList :: [(a, b, c, d)] -> Encoding # | |
| (ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (Product f g a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Product f g a -> Value # toEncoding :: Product f g a -> Encoding # toJSONList :: [Product f g a] -> Value # toEncodingList :: [Product f g a] -> Encoding # | |
| (ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (Sum f g a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Sum f g a -> Value # toEncoding :: Sum f g a -> Encoding # toJSONList :: [Sum f g a] -> Value # toEncodingList :: [Sum f g a] -> Encoding # | |
| (ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e) => ToJSON (a, b, c, d, e) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e) -> Value # toEncoding :: (a, b, c, d, e) -> Encoding # toJSONList :: [(a, b, c, d, e)] -> Value # toEncodingList :: [(a, b, c, d, e)] -> Encoding # | |
| (ToJSON1 f, ToJSON1 g, ToJSON a) => ToJSON (Compose f g a) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Compose f g a -> Value # toEncoding :: Compose f g a -> Encoding # toJSONList :: [Compose f g a] -> Value # toEncodingList :: [Compose f g a] -> Encoding # | |
| (ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f) => ToJSON (a, b, c, d, e, f) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f) -> Value # toEncoding :: (a, b, c, d, e, f) -> Encoding # toJSONList :: [(a, b, c, d, e, f)] -> Value # toEncodingList :: [(a, b, c, d, e, f)] -> Encoding # | |
| (ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g) => ToJSON (a, b, c, d, e, f, g) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g) -> Value # toEncoding :: (a, b, c, d, e, f, g) -> Encoding # toJSONList :: [(a, b, c, d, e, f, g)] -> Value # toEncodingList :: [(a, b, c, d, e, f, g)] -> Encoding # | |
| (ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h) => ToJSON (a, b, c, d, e, f, g, h) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h) -> Value # toEncoding :: (a, b, c, d, e, f, g, h) -> Encoding # toJSONList :: [(a, b, c, d, e, f, g, h)] -> Value # toEncodingList :: [(a, b, c, d, e, f, g, h)] -> Encoding # | |
| (ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i) => ToJSON (a, b, c, d, e, f, g, h, i) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h, i) -> Value # toEncoding :: (a, b, c, d, e, f, g, h, i) -> Encoding # toJSONList :: [(a, b, c, d, e, f, g, h, i)] -> Value # toEncodingList :: [(a, b, c, d, e, f, g, h, i)] -> Encoding # | |
| (ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j) => ToJSON (a, b, c, d, e, f, g, h, i, j) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h, i, j) -> Value # toEncoding :: (a, b, c, d, e, f, g, h, i, j) -> Encoding # toJSONList :: [(a, b, c, d, e, f, g, h, i, j)] -> Value # toEncodingList :: [(a, b, c, d, e, f, g, h, i, j)] -> Encoding # | |
| (ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k) => ToJSON (a, b, c, d, e, f, g, h, i, j, k) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h, i, j, k) -> Value # toEncoding :: (a, b, c, d, e, f, g, h, i, j, k) -> Encoding # toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k)] -> Value # toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k)] -> Encoding # | |
| (ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l) => ToJSON (a, b, c, d, e, f, g, h, i, j, k, l) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h, i, j, k, l) -> Value # toEncoding :: (a, b, c, d, e, f, g, h, i, j, k, l) -> Encoding # toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k, l)] -> Value # toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k, l)] -> Encoding # | |
| (ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m) => ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Value # toEncoding :: (a, b, c, d, e, f, g, h, i, j, k, l, m) -> Encoding # toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m)] -> Value # toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m)] -> Encoding # | |
| (ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n) => ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Value # toEncoding :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n) -> Encoding # toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] -> Value # toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] -> Encoding # | |
| (ToJSON a, ToJSON b, ToJSON c, ToJSON d, ToJSON e, ToJSON f, ToJSON g, ToJSON h, ToJSON i, ToJSON j, ToJSON k, ToJSON l, ToJSON m, ToJSON n, ToJSON o) => ToJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) | |
Defined in Data.Aeson.Types.ToJSON Methods toJSON :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Value # toEncoding :: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) -> Encoding # toJSONList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] -> Value # toEncodingList :: [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] -> Encoding # | |
Instances
| FromJSON Bool | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Char | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Double | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Float | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Int | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Int8 | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Int16 | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Int32 | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Int64 | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Integer | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Natural | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Ordering | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Word | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Word8 | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Word16 | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Word32 | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Word64 | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON () | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Version | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Void | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON CTime | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON IntSet | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON DiffTime | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON NominalDiffTime | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser NominalDiffTime # parseJSONList :: Value -> Parser [NominalDiffTime] # | |
| FromJSON UTCTime | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Text | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Text | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON ZonedTime | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON LocalTime | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON TimeOfDay | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON CalendarDiffTime | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser CalendarDiffTime # parseJSONList :: Value -> Parser [CalendarDiffTime] # | |
| FromJSON SystemTime | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON DayOfWeek | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Day | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON CalendarDiffDays | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser CalendarDiffDays # parseJSONList :: Value -> Parser [CalendarDiffDays] # | |
| FromJSON Value | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON StakeAddress | |
Defined in Cardano.Api.Address | |
| FromJSON AnyCardanoEra | |
Defined in Cardano.Api.Eras Methods parseJSON :: Value -> Parser AnyCardanoEra # parseJSONList :: Value -> Parser [AnyCardanoEra] # | |
| FromJSON CostModel | |
Defined in Cardano.Api.ProtocolParameters | |
| FromJSON ExecutionUnitPrices | |
Defined in Cardano.Api.ProtocolParameters Methods parseJSON :: Value -> Parser ExecutionUnitPrices # parseJSONList :: Value -> Parser [ExecutionUnitPrices] # | |
| FromJSON PraosNonce | |
Defined in Cardano.Api.ProtocolParameters | |
| FromJSON AnyPlutusScriptVersion | |
Defined in Cardano.Api.Script Methods parseJSON :: Value -> Parser AnyPlutusScriptVersion # parseJSONList :: Value -> Parser [AnyPlutusScriptVersion] # | |
| FromJSON ExecutionUnits | |
Defined in Cardano.Api.Script Methods parseJSON :: Value -> Parser ExecutionUnits # parseJSONList :: Value -> Parser [ExecutionUnits] # | |
| FromJSON ScriptHash | |
Defined in Cardano.Api.Script | |
| FromJSON TextEnvelope | |
Defined in Cardano.Api.SerialiseTextEnvelope | |
| FromJSON TextEnvelopeDescr | |
Defined in Cardano.Api.SerialiseTextEnvelope Methods parseJSON :: Value -> Parser TextEnvelopeDescr # parseJSONList :: Value -> Parser [TextEnvelopeDescr] # | |
| FromJSON TextEnvelopeType | |
Defined in Cardano.Api.SerialiseTextEnvelope Methods parseJSON :: Value -> Parser TextEnvelopeType # parseJSONList :: Value -> Parser [TextEnvelopeType] # | |
| FromJSON StakePoolMetadata | |
Defined in Cardano.Api.StakePoolMetadata Methods parseJSON :: Value -> Parser StakePoolMetadata # parseJSONList :: Value -> Parser [StakePoolMetadata] # | |
| FromJSON TxId | |
Defined in Cardano.Api.TxBody | |
| FromJSON TxIn | |
Defined in Cardano.Api.TxBody | |
| FromJSON TxIx | |
Defined in Cardano.Api.TxBody | |
| FromJSON AssetName | |
Defined in Cardano.Api.Value | |
| FromJSON Lovelace | |
Defined in Cardano.Api.Value | |
| FromJSON PolicyId | |
Defined in Cardano.Api.Value | |
| FromJSON Quantity | |
Defined in Cardano.Api.Value | |
| FromJSON Value | |
Defined in Cardano.Api.Value | |
| FromJSON ValueNestedRep | |
Defined in Cardano.Api.Value Methods parseJSON :: Value -> Parser ValueNestedRep # parseJSONList :: Value -> Parser [ValueNestedRep] # | |
| FromJSON EpochNo | |
Defined in Cardano.Slotting.Slot | |
| FromJSON SlotNo | |
Defined in Cardano.Slotting.Slot | |
| FromJSON Scientific | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Month | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON Quarter | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON QuarterOfYear | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser QuarterOfYear # parseJSONList :: Value -> Parser [QuarterOfYear] # | |
| FromJSON UUID | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON RequiresNetworkMagic | |
Defined in Cardano.Crypto.ProtocolMagic Methods parseJSON :: Value -> Parser RequiresNetworkMagic # parseJSONList :: Value -> Parser [RequiresNetworkMagic] # | |
| FromJSON ProtocolMagicId | |
Defined in Cardano.Crypto.ProtocolMagic Methods parseJSON :: Value -> Parser ProtocolMagicId # parseJSONList :: Value -> Parser [ProtocolMagicId] # | |
| FromJSON CompactRedeemVerificationKey | |
Defined in Cardano.Crypto.Signing.Redeem.Compact Methods parseJSON :: Value -> Parser CompactRedeemVerificationKey # parseJSONList :: Value -> Parser [CompactRedeemVerificationKey] # | |
| FromJSON VerificationKey | |
Defined in Cardano.Crypto.Signing.VerificationKey Methods parseJSON :: Value -> Parser VerificationKey # parseJSONList :: Value -> Parser [VerificationKey] # | |
| FromJSON ProtocolMagic | |
Defined in Cardano.Crypto.ProtocolMagic Methods parseJSON :: Value -> Parser ProtocolMagic # parseJSONList :: Value -> Parser [ProtocolMagic] # | |
| FromJSON PositiveUnitInterval | |
Defined in Cardano.Ledger.BaseTypes Methods parseJSON :: Value -> Parser PositiveUnitInterval # parseJSONList :: Value -> Parser [PositiveUnitInterval] # | |
| FromJSON Network | |
Defined in Cardano.Ledger.BaseTypes | |
| FromJSON Coin | |
Defined in Cardano.Ledger.Coin | |
| FromJSON Nonce | |
Defined in Cardano.Ledger.BaseTypes | |
| FromJSON ProtVer | |
Defined in Cardano.Ledger.BaseTypes | |
| FromJSON UnitInterval | |
Defined in Cardano.Ledger.BaseTypes | |
| FromJSON NonNegativeInterval | |
Defined in Cardano.Ledger.BaseTypes Methods parseJSON :: Value -> Parser NonNegativeInterval # parseJSONList :: Value -> Parser [NonNegativeInterval] # | |
| FromJSON StakePoolRelay | |
Defined in Cardano.Ledger.Shelley.TxBody Methods parseJSON :: Value -> Parser StakePoolRelay # parseJSONList :: Value -> Parser [StakePoolRelay] # | |
| FromJSON RewardParams | |
Defined in Cardano.Ledger.Shelley.API.Wallet | |
| FromJSON RewardInfoPool | |
Defined in Cardano.Ledger.Shelley.API.Wallet Methods parseJSON :: Value -> Parser RewardInfoPool # parseJSONList :: Value -> Parser [RewardInfoPool] # | |
| FromJSON AssetClass | |
Defined in Plutus.V1.Ledger.Value | |
| FromJSON CurrencySymbol | |
Defined in Plutus.V1.Ledger.Value Methods parseJSON :: Value -> Parser CurrencySymbol # parseJSONList :: Value -> Parser [CurrencySymbol] # | |
| FromJSON TokenName | |
Defined in Plutus.V1.Ledger.Value | |
| FromJSON Value | |
Defined in Plutus.V1.Ledger.Value | |
| FromJSON MintingPolicyHash | |
Defined in Plutus.V1.Ledger.Scripts Methods parseJSON :: Value -> Parser MintingPolicyHash # parseJSONList :: Value -> Parser [MintingPolicyHash] # | |
| FromJSON Context | |
Defined in Plutus.V1.Ledger.Scripts | |
| FromJSON Datum | |
Defined in Plutus.V1.Ledger.Scripts | |
| FromJSON DatumHash | |
Defined in Plutus.V1.Ledger.Scripts | |
| FromJSON MintingPolicy | |
Defined in Plutus.V1.Ledger.Scripts Methods parseJSON :: Value -> Parser MintingPolicy # parseJSONList :: Value -> Parser [MintingPolicy] # | |
| FromJSON Redeemer | |
Defined in Plutus.V1.Ledger.Scripts | |
| FromJSON RedeemerHash | |
Defined in Plutus.V1.Ledger.Scripts | |
| FromJSON Script | |
Defined in Plutus.V1.Ledger.Scripts | |
| FromJSON ScriptError | |
Defined in Plutus.V1.Ledger.Scripts | |
| FromJSON ScriptHash | |
Defined in Plutus.V1.Ledger.Scripts | |
| FromJSON StakeValidator | |
Defined in Plutus.V1.Ledger.Scripts Methods parseJSON :: Value -> Parser StakeValidator # parseJSONList :: Value -> Parser [StakeValidator] # | |
| FromJSON StakeValidatorHash | |
Defined in Plutus.V1.Ledger.Scripts Methods parseJSON :: Value -> Parser StakeValidatorHash # parseJSONList :: Value -> Parser [StakeValidatorHash] # | |
| FromJSON Validator | |
Defined in Plutus.V1.Ledger.Scripts | |
| FromJSON ValidatorHash | |
Defined in Plutus.V1.Ledger.Scripts Methods parseJSON :: Value -> Parser ValidatorHash # parseJSONList :: Value -> Parser [ValidatorHash] # | |
| FromJSON ExBudget | |
Defined in PlutusCore.Evaluation.Machine.ExBudget | |
| FromJSON ExCPU | |
Defined in PlutusCore.Evaluation.Machine.ExMemory | |
| FromJSON ExMemory | |
Defined in PlutusCore.Evaluation.Machine.ExMemory | |
| FromJSON Desirability | |
Defined in Cardano.Ledger.Shelley.RewardProvenance | |
| FromJSON PoolMetadata | |
Defined in Cardano.Ledger.Shelley.TxBody | |
| FromJSON EpochSize | |
Defined in Cardano.Slotting.Slot | |
| FromJSON ByteString64 | |
Defined in Data.ByteString.Base64.Type | |
| FromJSON PubKeyHash | |
Defined in Plutus.V1.Ledger.Crypto | |
| FromJSON Url | |
Defined in Cardano.Ledger.BaseTypes | |
| FromJSON ProtocolParameters | |
Defined in Cardano.Api.ProtocolParameters Methods parseJSON :: Value -> Parser ProtocolParameters # parseJSONList :: Value -> Parser [ProtocolParameters] # | |
| FromJSON CekMachineCosts | |
Defined in UntypedPlutusCore.Evaluation.Machine.Cek.CekMachineCosts Methods parseJSON :: Value -> Parser CekMachineCosts # parseJSONList :: Value -> Parser [CekMachineCosts] # | |
| FromJSON RedeemVerificationKey | |
Defined in Cardano.Crypto.Signing.Redeem.VerificationKey Methods parseJSON :: Value -> Parser RedeemVerificationKey # parseJSONList :: Value -> Parser [RedeemVerificationKey] # | |
| FromJSON StakingCredential | |
Defined in Plutus.V1.Ledger.Credential Methods parseJSON :: Value -> Parser StakingCredential # parseJSONList :: Value -> Parser [StakingCredential] # | |
| FromJSON POSIXTime | |
Defined in Plutus.V1.Ledger.Time | |
| FromJSON TxOut | |
Defined in Plutus.V1.Ledger.Tx | |
| FromJSON Address | |
Defined in Plutus.V1.Ledger.Address | |
| FromJSON Credential | |
Defined in Plutus.V1.Ledger.Credential | |
| FromJSON DCert | |
Defined in Plutus.V1.Ledger.DCert | |
| FromJSON TxId | |
Defined in Plutus.V1.Ledger.TxId | |
| FromJSON TxOutRef | |
Defined in Plutus.V1.Ledger.Tx | |
| FromJSON DnsName | |
Defined in Cardano.Ledger.BaseTypes | |
| FromJSON Port | |
Defined in Cardano.Ledger.BaseTypes | |
| FromJSON PositiveInterval | |
Defined in Cardano.Ledger.BaseTypes Methods parseJSON :: Value -> Parser PositiveInterval # parseJSONList :: Value -> Parser [PositiveInterval] # | |
| FromJSON PeerAdvertise | |
Defined in Ouroboros.Network.PeerSelection.Types Methods parseJSON :: Value -> Parser PeerAdvertise # parseJSONList :: Value -> Parser [PeerAdvertise] # | |
| FromJSON SatInt | |
Defined in Data.SatInt | |
| FromJSON ModelAddedSizes | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON :: Value -> Parser ModelAddedSizes # parseJSONList :: Value -> Parser [ModelAddedSizes] # | |
| FromJSON ModelConstantOrLinear | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON :: Value -> Parser ModelConstantOrLinear # parseJSONList :: Value -> Parser [ModelConstantOrLinear] # | |
| FromJSON ModelConstantOrTwoArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON :: Value -> Parser ModelConstantOrTwoArguments # parseJSONList :: Value -> Parser [ModelConstantOrTwoArguments] # | |
| FromJSON ModelFiveArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON :: Value -> Parser ModelFiveArguments # parseJSONList :: Value -> Parser [ModelFiveArguments] # | |
| FromJSON ModelFourArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON :: Value -> Parser ModelFourArguments # parseJSONList :: Value -> Parser [ModelFourArguments] # | |
| FromJSON ModelLinearSize | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON :: Value -> Parser ModelLinearSize # parseJSONList :: Value -> Parser [ModelLinearSize] # | |
| FromJSON ModelMaxSize | |
| FromJSON ModelMinSize | |
| FromJSON ModelMultipliedSizes | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON :: Value -> Parser ModelMultipliedSizes # parseJSONList :: Value -> Parser [ModelMultipliedSizes] # | |
| FromJSON ModelOneArgument | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON :: Value -> Parser ModelOneArgument # parseJSONList :: Value -> Parser [ModelOneArgument] # | |
| FromJSON ModelSixArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON :: Value -> Parser ModelSixArguments # parseJSONList :: Value -> Parser [ModelSixArguments] # | |
| FromJSON ModelSubtractedSizes | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON :: Value -> Parser ModelSubtractedSizes # parseJSONList :: Value -> Parser [ModelSubtractedSizes] # | |
| FromJSON ModelThreeArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON :: Value -> Parser ModelThreeArguments # parseJSONList :: Value -> Parser [ModelThreeArguments] # | |
| FromJSON ModelTwoArguments | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON :: Value -> Parser ModelTwoArguments # parseJSONList :: Value -> Parser [ModelTwoArguments] # | |
| FromJSON Ada | |
Defined in Plutus.V1.Ledger.Ada | |
| FromJSON LedgerBytes | |
Defined in Plutus.V1.Ledger.Bytes | |
| FromJSON Signature | |
Defined in Plutus.V1.Ledger.Crypto | |
| FromJSON PubKey | |
Defined in Plutus.V1.Ledger.Crypto | |
| FromJSON PrivateKey | |
Defined in Plutus.V1.Ledger.Crypto | |
| FromJSON Slot | |
Defined in Plutus.V1.Ledger.Slot | |
| FromJSON DiffMilliSeconds | |
Defined in Plutus.V1.Ledger.Time Methods parseJSON :: Value -> Parser DiffMilliSeconds # parseJSONList :: Value -> Parser [DiffMilliSeconds] # | |
| FromJSON RedeemerPtr | |
Defined in Plutus.V1.Ledger.Tx | |
| FromJSON ScriptTag | |
Defined in Plutus.V1.Ledger.Tx | |
| FromJSON Tx | |
Defined in Plutus.V1.Ledger.Tx | |
| FromJSON TxIn | |
Defined in Plutus.V1.Ledger.Tx | |
| FromJSON TxInType | |
Defined in Plutus.V1.Ledger.Tx | |
| FromJSON TxOutTx | |
Defined in Plutus.V1.Ledger.Tx | |
| FromJSON StudentT | |
Defined in Statistics.Distribution.StudentT | |
| FromJSON DotNetTime | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON NodeConfig | |
Defined in Cardano.Api.LedgerState | |
| FromJSON TextEnvelopeCddl | |
Defined in Cardano.Api.SerialiseLedgerCddl Methods parseJSON :: Value -> Parser TextEnvelopeCddl # parseJSONList :: Value -> Parser [TextEnvelopeCddl] # | |
| FromJSON a => FromJSON [a] | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (Maybe a) | |
Defined in Data.Aeson.Types.FromJSON | |
| (FromJSON a, Integral a) => FromJSON (Ratio a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (First a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (Last a) | |
Defined in Data.Aeson.Types.FromJSON | |
| (Ord a, FromJSON a) => FromJSON (Set a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (NonEmpty a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (Identity a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (Min a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (Max a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (WrappedMonoid a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (WrappedMonoid a) # parseJSONList :: Value -> Parser [WrappedMonoid a] # | |
| FromJSON a => FromJSON (Option a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (First a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (Last a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (Dual a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (IntMap a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON v => FromJSON (Tree v) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (Seq a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (ReasonablySized a) | |
Defined in Hydra.Prelude Methods parseJSON :: Value -> Parser (ReasonablySized a) # parseJSONList :: Value -> Parser [ReasonablySized a] # | |
| (Eq a, Hashable a, FromJSON a) => FromJSON (HashSet a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON (Address ByronAddr) # | |
Defined in Hydra.Cardano.Api.Address | |
| IsShelleyBasedEra era => FromJSON (AddressInEra era) | |
Defined in Cardano.Api.Address Methods parseJSON :: Value -> Parser (AddressInEra era) # parseJSONList :: Value -> Parser [AddressInEra era] # | |
| FromJSON (Hash BlockHeader) | |
Defined in Cardano.Api.Block Methods parseJSON :: Value -> Parser (Hash BlockHeader) # parseJSONList :: Value -> Parser [Hash BlockHeader] # | |
| FromJSON (Hash ScriptData) | |
Defined in Cardano.Api.ScriptData Methods parseJSON :: Value -> Parser (Hash ScriptData) # parseJSONList :: Value -> Parser [Hash ScriptData] # | |
| FromJSON (Hash StakePoolKey) | |
Defined in Cardano.Api.KeysShelley Methods parseJSON :: Value -> Parser (Hash StakePoolKey) # parseJSONList :: Value -> Parser [Hash StakePoolKey] # | |
| (IsCardanoEra era, IsShelleyBasedEra era, FromJSON (TxOut CtxUTxO era)) => FromJSON (UTxO era) | |
Defined in Cardano.Api.Query | |
| IsSimpleScriptLanguage lang => FromJSON (SimpleScript lang) | |
Defined in Cardano.Api.Script Methods parseJSON :: Value -> Parser (SimpleScript lang) # parseJSONList :: Value -> Parser [SimpleScript lang] # | |
| IsCardanoEra era => FromJSON (TxOutValue era) | |
Defined in Cardano.Api.TxBody Methods parseJSON :: Value -> Parser (TxOutValue era) # parseJSONList :: Value -> Parser [TxOutValue era] # | |
| FromJSON1 f => FromJSON (Fix f) | |
Defined in Data.Aeson.Types.FromJSON | |
| (FromJSON1 f, Functor f) => FromJSON (Mu f) | |
Defined in Data.Aeson.Types.FromJSON | |
| (FromJSON1 f, Functor f) => FromJSON (Nu f) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (Maybe a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (Vector a) | |
Defined in Data.Aeson.Types.FromJSON | |
| (Vector Vector a, FromJSON a) => FromJSON (Vector a) | |
Defined in Data.Aeson.Types.FromJSON | |
| (Storable a, FromJSON a) => FromJSON (Vector a) | |
Defined in Data.Aeson.Types.FromJSON | |
| Crypto crypto => FromJSON (ShelleyGenesisStaking crypto) | |
Defined in Cardano.Ledger.Shelley.Genesis Methods parseJSON :: Value -> Parser (ShelleyGenesisStaking crypto) # parseJSONList :: Value -> Parser [ShelleyGenesisStaking crypto] # | |
| Crypto crypto => FromJSON (Addr crypto) | |
Defined in Cardano.Ledger.Address | |
| Crypto crypto => FromJSON (GenDelegPair crypto) | |
Defined in Cardano.Ledger.Keys Methods parseJSON :: Value -> Parser (GenDelegPair crypto) # parseJSONList :: Value -> Parser [GenDelegPair crypto] # | |
| FromJSON (PParams era) | |
Defined in Cardano.Ledger.Shelley.PParams | |
| Era era => FromJSON (ShelleyGenesis era) | |
Defined in Cardano.Ledger.Shelley.Genesis Methods parseJSON :: Value -> Parser (ShelleyGenesis era) # parseJSONList :: Value -> Parser [ShelleyGenesis era] # | |
| Crypto crypto => FromJSON (PoolParams crypto) | |
Defined in Cardano.Ledger.Shelley.TxBody Methods parseJSON :: Value -> Parser (PoolParams crypto) # parseJSONList :: Value -> Parser [PoolParams crypto] # | |
| FromJSON a => FromJSON (StrictMaybe a) | |
Defined in Data.Maybe.Strict Methods parseJSON :: Value -> Parser (StrictMaybe a) # parseJSONList :: Value -> Parser [StrictMaybe a] # | |
| Crypto crypto => FromJSON (ScriptHash crypto) | |
Defined in Cardano.Ledger.Hashes Methods parseJSON :: Value -> Parser (ScriptHash crypto) # parseJSONList :: Value -> Parser [ScriptHash crypto] # | |
| Crypto crypto => FromJSON (RewardProvenance crypto) | |
Defined in Cardano.Ledger.Shelley.RewardProvenance Methods parseJSON :: Value -> Parser (RewardProvenance crypto) # parseJSONList :: Value -> Parser [RewardProvenance crypto] # | |
| Crypto crypto => FromJSON (BlocksMade crypto) | |
Defined in Cardano.Ledger.BaseTypes Methods parseJSON :: Value -> Parser (BlocksMade crypto) # parseJSONList :: Value -> Parser [BlocksMade crypto] # | |
| FromJSON a => FromJSON (DList a) | |
Defined in Data.Aeson.Types.FromJSON | |
| (Prim a, FromJSON a) => FromJSON (Vector a) | |
Defined in Data.Aeson.Types.FromJSON | |
| Crypto crypto => FromJSON (RewardProvenancePool crypto) | |
Defined in Cardano.Ledger.Shelley.RewardProvenance Methods parseJSON :: Value -> Parser (RewardProvenancePool crypto) # parseJSONList :: Value -> Parser [RewardProvenancePool crypto] # | |
| Crypto crypto => FromJSON (RewardAcnt crypto) | |
Defined in Cardano.Ledger.Address Methods parseJSON :: Value -> Parser (RewardAcnt crypto) # parseJSONList :: Value -> Parser [RewardAcnt crypto] # | |
| FromJSON a => FromJSON (SmallArray a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (SmallArray a) # parseJSONList :: Value -> Parser [SmallArray a] # | |
| FromJSON a => FromJSON (RedeemSignature a) | |
Defined in Cardano.Crypto.Signing.Redeem.Signature Methods parseJSON :: Value -> Parser (RedeemSignature a) # parseJSONList :: Value -> Parser [RedeemSignature a] # | |
| FromJSON (Signature w) | |
Defined in Cardano.Crypto.Signing.Signature | |
| Crypto crypto => FromJSON (StakeCreds crypto) | |
Defined in Cardano.Ledger.Shelley.TxBody Methods parseJSON :: Value -> Parser (StakeCreds crypto) # parseJSONList :: Value -> Parser [StakeCreds crypto] # | |
| FromJSON (BuiltinCostModelBase CostingFun) | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON :: Value -> Parser (BuiltinCostModelBase CostingFun) # parseJSONList :: Value -> Parser [BuiltinCostModelBase CostingFun] # | |
| FromJSON model => FromJSON (CostingFun model) | |
Defined in PlutusCore.Evaluation.Machine.BuiltinCostModel Methods parseJSON :: Value -> Parser (CostingFun model) # parseJSONList :: Value -> Parser [CostingFun model] # | |
| FromJSON a => FromJSON (Interval a) | |
Defined in Plutus.V1.Ledger.Interval | |
| FromJSON a => FromJSON (Extended a) | |
Defined in Plutus.V1.Ledger.Interval | |
| FromJSON a => FromJSON (LowerBound a) | |
Defined in Plutus.V1.Ledger.Interval Methods parseJSON :: Value -> Parser (LowerBound a) # parseJSONList :: Value -> Parser [LowerBound a] # | |
| FromJSON a => FromJSON (UpperBound a) | |
Defined in Plutus.V1.Ledger.Interval Methods parseJSON :: Value -> Parser (UpperBound a) # parseJSONList :: Value -> Parser [UpperBound a] # | |
| FromJSON d => FromJSON (LinearTransform d) | |
Defined in Statistics.Distribution.Transform Methods parseJSON :: Value -> Parser (LinearTransform d) # parseJSONList :: Value -> Parser [LinearTransform d] # | |
| (Prim a, FromJSON a) => FromJSON (PrimArray a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (DNonEmpty a) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (Array a) | |
Defined in Data.Aeson.Types.FromJSON | |
| (SerialiseAsRawBytes a, Typeable a) => FromJSON (UsingRawBytesHex a) # | |
Defined in Hydra.Cardano.Api.UsingRawBytesHex Methods parseJSON :: Value -> Parser (UsingRawBytesHex a) # parseJSONList :: Value -> Parser [UsingRawBytesHex a] # | |
| (FromJSON a, FromJSON b) => FromJSON (Either a b) | |
Defined in Data.Aeson.Types.FromJSON | |
| (FromJSON a, FromJSON b) => FromJSON (a, b) | |
Defined in Data.Aeson.Types.FromJSON | |
| (FromJSONKey k, Ord k, FromJSON v) => FromJSON (Map k v) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON (Proxy a) | |
Defined in Data.Aeson.Types.FromJSON | |
| HasResolution a => FromJSON (Fixed a) | |
Defined in Data.Aeson.Types.FromJSON | |
| (FromJSON v, FromJSONKey k, Eq k, Hashable k) => FromJSON (HashMap k v) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON (EraInMode AllegraEra CardanoMode) | |
Defined in Cardano.Api.Modes Methods parseJSON :: Value -> Parser (EraInMode AllegraEra CardanoMode) # parseJSONList :: Value -> Parser [EraInMode AllegraEra CardanoMode] # | |
| FromJSON (EraInMode AlonzoEra CardanoMode) | |
Defined in Cardano.Api.Modes Methods parseJSON :: Value -> Parser (EraInMode AlonzoEra CardanoMode) # parseJSONList :: Value -> Parser [EraInMode AlonzoEra CardanoMode] # | |
| FromJSON (EraInMode ByronEra CardanoMode) | |
Defined in Cardano.Api.Modes Methods parseJSON :: Value -> Parser (EraInMode ByronEra CardanoMode) # parseJSONList :: Value -> Parser [EraInMode ByronEra CardanoMode] # | |
| FromJSON (EraInMode ByronEra ByronMode) | |
Defined in Cardano.Api.Modes | |
| FromJSON (EraInMode MaryEra CardanoMode) | |
Defined in Cardano.Api.Modes Methods parseJSON :: Value -> Parser (EraInMode MaryEra CardanoMode) # parseJSONList :: Value -> Parser [EraInMode MaryEra CardanoMode] # | |
| FromJSON (EraInMode ShelleyEra CardanoMode) | |
Defined in Cardano.Api.Modes Methods parseJSON :: Value -> Parser (EraInMode ShelleyEra CardanoMode) # parseJSONList :: Value -> Parser [EraInMode ShelleyEra CardanoMode] # | |
| FromJSON (EraInMode ShelleyEra ShelleyMode) | |
Defined in Cardano.Api.Modes Methods parseJSON :: Value -> Parser (EraInMode ShelleyEra ShelleyMode) # parseJSONList :: Value -> Parser [EraInMode ShelleyEra ShelleyMode] # | |
| (IsShelleyBasedEra era, IsCardanoEra era) => FromJSON (TxOut CtxTx era) | |
Defined in Cardano.Api.TxBody | |
| (IsShelleyBasedEra era, IsCardanoEra era) => FromJSON (TxOut CtxUTxO era) | |
Defined in Cardano.Api.TxBody | |
| (FromJSON a, FromJSON b) => FromJSON (Either a b) | |
Defined in Data.Aeson.Types.FromJSON | |
| (FromJSON a, FromJSON b) => FromJSON (Pair a b) | |
Defined in Data.Aeson.Types.FromJSON | |
| (FromJSON a, FromJSON b) => FromJSON (These a b) | |
Defined in Data.Aeson.Types.FromJSON | |
| (FromJSON a, FromJSON b) => FromJSON (These a b) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON b => FromJSON (Annotated b ()) | |
Defined in Cardano.Binary.Annotated Methods parseJSON :: Value -> Parser (Annotated b ()) # parseJSONList :: Value -> Parser [Annotated b ()] # | |
| HashAlgorithm algo => FromJSON (AbstractHash algo a) | |
Defined in Cardano.Crypto.Hashing Methods parseJSON :: Value -> Parser (AbstractHash algo a) # parseJSONList :: Value -> Parser [AbstractHash algo a] # | |
| Crypto crypto => FromJSON (KeyHash disc crypto) | |
Defined in Cardano.Ledger.Keys Methods parseJSON :: Value -> Parser (KeyHash disc crypto) # parseJSONList :: Value -> Parser [KeyHash disc crypto] # | |
| Crypto crypto => FromJSON (Credential kr crypto) | |
Defined in Cardano.Ledger.Credential Methods parseJSON :: Value -> Parser (Credential kr crypto) # parseJSONList :: Value -> Parser [Credential kr crypto] # | |
| HashAlgorithm h => FromJSON (Hash h a) | |
Defined in Cardano.Crypto.Hash.Class | |
| Bounded (BoundedRatio b Word64) => FromJSON (BoundedRatio b Word64) | |
Defined in Cardano.Ledger.BaseTypes | |
| (FromJSONKey k, Ord k, FromJSON a) => FromJSON (MonoidalMap k a) | |
Defined in Data.Map.Monoidal Methods parseJSON :: Value -> Parser (MonoidalMap k a) # parseJSONList :: Value -> Parser [MonoidalMap k a] # | |
| (FromJSON a, FromJSON b, FromJSON c) => FromJSON (a, b, c) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON a => FromJSON (Const a b) | |
Defined in Data.Aeson.Types.FromJSON | |
| FromJSON b => FromJSON (Tagged a b) | |
Defined in Data.Aeson.Types.FromJSON | |
| (FromJSON1 f, FromJSON1 g, FromJSON a) => FromJSON (These1 f g a) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (These1 f g a) # parseJSONList :: Value -> Parser [These1 f g a] # | |
| (FromJSON a, FromJSON b, FromJSON c, FromJSON d) => FromJSON (a, b, c, d) | |
Defined in Data.Aeson.Types.FromJSON | |
| (FromJSON1 f, FromJSON1 g, FromJSON a) => FromJSON (Product f g a) | |
Defined in Data.Aeson.Types.FromJSON | |
| (FromJSON1 f, FromJSON1 g, FromJSON a) => FromJSON (Sum f g a) | |
Defined in Data.Aeson.Types.FromJSON | |
| (FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e) => FromJSON (a, b, c, d, e) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e) # parseJSONList :: Value -> Parser [(a, b, c, d, e)] # | |
| (FromJSON1 f, FromJSON1 g, FromJSON a) => FromJSON (Compose f g a) | |
Defined in Data.Aeson.Types.FromJSON | |
| (FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f) => FromJSON (a, b, c, d, e, f) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f) # parseJSONList :: Value -> Parser [(a, b, c, d, e, f)] # | |
| (FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g) => FromJSON (a, b, c, d, e, f, g) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g) # parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g)] # | |
| (FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h) => FromJSON (a, b, c, d, e, f, g, h) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h) # parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h)] # | |
| (FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i) => FromJSON (a, b, c, d, e, f, g, h, i) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i) # parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i)] # | |
| (FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j) => FromJSON (a, b, c, d, e, f, g, h, i, j) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j) # parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j)] # | |
| (FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k) => FromJSON (a, b, c, d, e, f, g, h, i, j, k) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k) # parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k)] # | |
| (FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l) => FromJSON (a, b, c, d, e, f, g, h, i, j, k, l) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k, l) # parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k, l)] # | |
| (FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m) => FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k, l, m) # parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m)] # | |
| (FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n) => FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k, l, m, n) # parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n)] # | |
| (FromJSON a, FromJSON b, FromJSON c, FromJSON d, FromJSON e, FromJSON f, FromJSON g, FromJSON h, FromJSON i, FromJSON j, FromJSON k, FromJSON l, FromJSON m, FromJSON n, FromJSON o) => FromJSON (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) | |
Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) # parseJSONList :: Value -> Parser [(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o)] # | |
class Typeable a => ToCBOR a #
Minimal complete definition
Instances
class Typeable a => FromCBOR a #
Minimal complete definition
Instances
| FromCBOR Bool | |
| FromCBOR Float | |
| FromCBOR Int | |
| FromCBOR Int32 | |
| FromCBOR Int64 | |
| FromCBOR Integer | |
| FromCBOR Natural | |
| FromCBOR Word | |
| FromCBOR Word8 | |
| FromCBOR Word16 | |
| FromCBOR Word32 | |
| FromCBOR Word64 | |
| FromCBOR () | |
| FromCBOR ByteString | |
Defined in Cardano.Binary.FromCBOR | |
| FromCBOR ShortByteString | |
Defined in Cardano.Binary.FromCBOR | |
| FromCBOR Nano | |
| FromCBOR Pico | |
| FromCBOR Void | |
| FromCBOR NominalDiffTime | |
Defined in Cardano.Binary.FromCBOR | |
| FromCBOR UTCTime | |
| FromCBOR Text | |
| FromCBOR Certificate | |
Defined in Cardano.Api.Certificate | |
| FromCBOR OperationalCertificate | |
Defined in Cardano.Api.OperationalCertificate Methods fromCBOR :: Decoder s OperationalCertificate # label :: Proxy OperationalCertificate -> Text # | |
| FromCBOR OperationalCertificateIssueCounter | |
Defined in Cardano.Api.OperationalCertificate Methods fromCBOR :: Decoder s OperationalCertificateIssueCounter # | |
| FromCBOR CostModel | |
| FromCBOR ExecutionUnitPrices | |
Defined in Cardano.Api.ProtocolParameters | |
| FromCBOR PraosNonce | |
Defined in Cardano.Api.ProtocolParameters | |
| FromCBOR ProtocolParametersUpdate | |
Defined in Cardano.Api.ProtocolParameters Methods fromCBOR :: Decoder s ProtocolParametersUpdate # label :: Proxy ProtocolParametersUpdate -> Text # | |
| FromCBOR UpdateProposal | |
Defined in Cardano.Api.ProtocolParameters | |
| FromCBOR AnyPlutusScriptVersion | |
Defined in Cardano.Api.Script Methods fromCBOR :: Decoder s AnyPlutusScriptVersion # label :: Proxy AnyPlutusScriptVersion -> Text # | |
| FromCBOR ExecutionUnits | |
Defined in Cardano.Api.Script | |
| FromCBOR ScriptData | |
Defined in Cardano.Api.ScriptData | |
| FromCBOR ScriptValidity | |
Defined in Cardano.Api.TxBody | |
| FromCBOR Lovelace | |
| FromCBOR EpochSlots | |
Defined in Cardano.Chain.Slotting.EpochSlots | |
| FromCBOR BlockNo | |
| FromCBOR EpochNo | |
| FromCBOR SlotNo | |
| FromCBOR Config | |
| FromCBOR GenesisNonAvvmBalances | |
| FromCBOR GenesisDelegation | |
| FromCBOR GenesisKeyHashes | |
| FromCBOR CompactAddress | |
| FromCBOR RequiresNetworkMagic | |
| FromCBOR GenesisAvvmBalances | |
| FromCBOR ProtocolParameters | |
| FromCBOR ProtocolVersion | |
| FromCBOR ProtocolMagicId | |
| FromCBOR Certificate | |
| FromCBOR SigningKey | |
| FromCBOR SoftwareVersion | |
| FromCBOR CompactRedeemVerificationKey | |
| FromCBOR Lovelace | |
| FromCBOR Error | |
| FromCBOR ChainValidationState | |
| FromCBOR VerificationKey | |
| FromCBOR KeyHash | |
| FromCBOR GenesisHash | |
| FromCBOR CandidateProtocolUpdate | |
| FromCBOR SlotNumber | |
| FromCBOR Endorsement | |
| FromCBOR LByteString | |
| FromCBOR ByronHash | |
| FromCBOR Tx | |
| FromCBOR Proposal | |
| FromCBOR Vote | |
| FromCBOR Map | |
| FromCBOR ScheduledDelegation | |
| FromCBOR EpochNumber | |
| FromCBOR State | |
| FromCBOR UTxO | |
| FromCBOR ToSign | |
| FromCBOR Raw | |
| FromCBOR PositiveUnitInterval | |
| FromCBOR Network | |
| FromCBOR Coin | |
| FromCBOR SystemStart | |
| FromCBOR Nonce | |
| FromCBOR ProtVer | |
| FromCBOR UnitInterval | |
| FromCBOR NonNegativeInterval | |
| FromCBOR ExUnits | |
| FromCBOR StakePoolRelay | |
| FromCBOR RewardParams | |
| FromCBOR RewardInfoPool | |
| FromCBOR AlonzoGenesis | |
| FromCBOR Language | |
| FromCBOR Prices | |
| FromCBOR AccountState | |
| FromCBOR AssetName | |
| FromCBOR Ptr | |
| FromCBOR DeltaCoin | |
| FromCBOR Likelihood | |
| FromCBOR LogWeight | |
| FromCBOR RewardType | |
| FromCBOR Metadatum | |
| FromCBOR Desirability | |
| FromCBOR PoolMetadata | |
| FromCBOR Address | |
| FromCBOR NetworkMagic | |
| FromCBOR HDAddressPayload | |
| FromCBOR Address' | |
| FromCBOR MIRPot | |
| FromCBOR Url | |
| FromCBOR SignKey | |
| FromCBOR VerKey | |
| FromCBOR KESPeriod | |
| FromCBOR TxInWitness | |
| FromCBOR TxSigData | |
| FromCBOR IsValid | |
| FromCBOR RdmrPtr | |
| FromCBOR TxIn | |
| FromCBOR Point | |
| FromCBOR Proof | |
| FromCBOR RedeemVerificationKey | |
| FromCBOR RedeemSigningKey | |
| FromCBOR ValidityInterval | |
| FromCBOR ScriptResult | |
| FromCBOR TagMismatchDescription | |
| FromCBOR FailureDescription | |
| FromCBOR Tag | |
| FromCBOR PlutusDebug | |
| FromCBOR ChainDifficulty | |
| FromCBOR Proof | |
| FromCBOR SscPayload | |
| FromCBOR ProposalBody | |
| FromCBOR Body | |
| FromCBOR TxPayload | |
| FromCBOR Payload | |
| FromCBOR Payload | |
| FromCBOR BlockSignature | |
| FromCBOR EpochAndSlotCount | |
| FromCBOR TxProof | |
| FromCBOR SscProof | |
| FromCBOR CompactTxIn | |
| FromCBOR CompactTxOut | |
| FromCBOR State | |
| FromCBOR BlockCount | |
| FromCBOR UTxOConfiguration | |
| FromCBOR ApplicationName | |
| FromCBOR ApplicationVersion | |
| FromCBOR ProtocolUpdateProposal | |
| FromCBOR SoftwareUpdateProposal | |
| FromCBOR Error | |
| FromCBOR AddrSpendingData | |
| FromCBOR AddrType | |
| FromCBOR LovelaceError | |
| FromCBOR LovelacePortion | |
| FromCBOR TxFeePolicy | |
| FromCBOR TxSizeLinear | |
| FromCBOR State | |
| FromCBOR State | |
| FromCBOR GenesisData | |
| FromCBOR SlotCount | |
| FromCBOR CompactTxId | |
| FromCBOR TxOut | |
| FromCBOR TxAux | |
| FromCBOR UTxOError | |
| FromCBOR ApplicationNameError | |
| FromCBOR InstallerHash | |
| FromCBOR SystemTag | |
| FromCBOR ProtocolParametersUpdate | |
| FromCBOR SoftforkRule | |
| FromCBOR SoftwareVersionError | |
| FromCBOR SystemTagError | |
| FromCBOR Error | |
| FromCBOR Error | |
| FromCBOR Error | |
| FromCBOR Adopted | |
| FromCBOR ActiveSlotCoeff | |
| FromCBOR DnsName | |
| FromCBOR Port | |
| FromCBOR PositiveInterval | |
| FromCBOR TicknState | |
| FromCBOR ChainCode | |
| FromCBOR PerformanceEstimate | |
| FromCBOR VotingPeriod | |
| FromCBOR a => FromCBOR [a] | |
| FromCBOR a => FromCBOR (Maybe a) | |
| (Integral a, FromCBOR a) => FromCBOR (Ratio a) | |
| (Ord a, FromCBOR a) => FromCBOR (Set a) | |
| FromCBOR a => FromCBOR (NonEmpty a) | |
| FromCBOR (Hash ByronKey) | |
| FromCBOR (Hash ByronKeyLegacy) | |
Defined in Cardano.Api.KeysByron | |
| FromCBOR (Hash GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (Hash GenesisDelegateExtendedKey) # | |
| FromCBOR (Hash GenesisDelegateKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (Hash GenesisDelegateKey) # | |
| FromCBOR (Hash GenesisExtendedKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (Hash GenesisExtendedKey) # | |
| FromCBOR (Hash GenesisKey) | |
Defined in Cardano.Api.KeysShelley | |
| FromCBOR (Hash GenesisUTxOKey) | |
Defined in Cardano.Api.KeysShelley | |
| FromCBOR (Hash PaymentExtendedKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (Hash PaymentExtendedKey) # | |
| FromCBOR (Hash PaymentKey) | |
Defined in Cardano.Api.KeysShelley | |
| FromCBOR (Hash StakeExtendedKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (Hash StakeExtendedKey) # | |
| FromCBOR (Hash StakeKey) | |
| FromCBOR (Hash VrfKey) | |
| FromCBOR (Hash StakePoolKey) | |
Defined in Cardano.Api.KeysShelley | |
| FromCBOR (Hash KesKey) | |
| FromCBOR (VerificationKey ByronKey) | |
Defined in Cardano.Api.KeysByron Methods fromCBOR :: Decoder s (VerificationKey ByronKey) # | |
| FromCBOR (VerificationKey ByronKeyLegacy) | |
Defined in Cardano.Api.KeysByron Methods fromCBOR :: Decoder s (VerificationKey ByronKeyLegacy) # label :: Proxy (VerificationKey ByronKeyLegacy) -> Text # | |
| FromCBOR (VerificationKey GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (VerificationKey GenesisDelegateExtendedKey) # label :: Proxy (VerificationKey GenesisDelegateExtendedKey) -> Text # | |
| FromCBOR (VerificationKey GenesisDelegateKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (VerificationKey GenesisDelegateKey) # label :: Proxy (VerificationKey GenesisDelegateKey) -> Text # | |
| FromCBOR (VerificationKey GenesisExtendedKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (VerificationKey GenesisExtendedKey) # label :: Proxy (VerificationKey GenesisExtendedKey) -> Text # | |
| FromCBOR (VerificationKey GenesisKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (VerificationKey GenesisKey) # label :: Proxy (VerificationKey GenesisKey) -> Text # | |
| FromCBOR (VerificationKey GenesisUTxOKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (VerificationKey GenesisUTxOKey) # label :: Proxy (VerificationKey GenesisUTxOKey) -> Text # | |
| FromCBOR (VerificationKey PaymentExtendedKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (VerificationKey PaymentExtendedKey) # label :: Proxy (VerificationKey PaymentExtendedKey) -> Text # | |
| FromCBOR (VerificationKey PaymentKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (VerificationKey PaymentKey) # label :: Proxy (VerificationKey PaymentKey) -> Text # | |
| FromCBOR (VerificationKey StakeExtendedKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (VerificationKey StakeExtendedKey) # label :: Proxy (VerificationKey StakeExtendedKey) -> Text # | |
| FromCBOR (VerificationKey StakeKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (VerificationKey StakeKey) # | |
| FromCBOR (VerificationKey VrfKey) | |
Defined in Cardano.Api.KeysPraos Methods fromCBOR :: Decoder s (VerificationKey VrfKey) # | |
| FromCBOR (VerificationKey StakePoolKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (VerificationKey StakePoolKey) # label :: Proxy (VerificationKey StakePoolKey) -> Text # | |
| FromCBOR (VerificationKey KesKey) | |
Defined in Cardano.Api.KeysPraos Methods fromCBOR :: Decoder s (VerificationKey KesKey) # | |
| FromCBOR (SigningKey ByronKey) | |
Defined in Cardano.Api.KeysByron | |
| FromCBOR (SigningKey ByronKeyLegacy) | |
Defined in Cardano.Api.KeysByron Methods fromCBOR :: Decoder s (SigningKey ByronKeyLegacy) # label :: Proxy (SigningKey ByronKeyLegacy) -> Text # | |
| FromCBOR (SigningKey GenesisDelegateExtendedKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (SigningKey GenesisDelegateExtendedKey) # label :: Proxy (SigningKey GenesisDelegateExtendedKey) -> Text # | |
| FromCBOR (SigningKey GenesisDelegateKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (SigningKey GenesisDelegateKey) # label :: Proxy (SigningKey GenesisDelegateKey) -> Text # | |
| FromCBOR (SigningKey GenesisExtendedKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (SigningKey GenesisExtendedKey) # label :: Proxy (SigningKey GenesisExtendedKey) -> Text # | |
| FromCBOR (SigningKey GenesisKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (SigningKey GenesisKey) # label :: Proxy (SigningKey GenesisKey) -> Text # | |
| FromCBOR (SigningKey GenesisUTxOKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (SigningKey GenesisUTxOKey) # label :: Proxy (SigningKey GenesisUTxOKey) -> Text # | |
| FromCBOR (SigningKey PaymentExtendedKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (SigningKey PaymentExtendedKey) # label :: Proxy (SigningKey PaymentExtendedKey) -> Text # | |
| FromCBOR (SigningKey PaymentKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (SigningKey PaymentKey) # label :: Proxy (SigningKey PaymentKey) -> Text # | |
| FromCBOR (SigningKey StakeExtendedKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (SigningKey StakeExtendedKey) # label :: Proxy (SigningKey StakeExtendedKey) -> Text # | |
| FromCBOR (SigningKey StakeKey) | |
Defined in Cardano.Api.KeysShelley | |
| FromCBOR (SigningKey VrfKey) | |
Defined in Cardano.Api.KeysPraos | |
| FromCBOR (SigningKey StakePoolKey) | |
Defined in Cardano.Api.KeysShelley Methods fromCBOR :: Decoder s (SigningKey StakePoolKey) # label :: Proxy (SigningKey StakePoolKey) -> Text # | |
| FromCBOR (SigningKey KesKey) | |
Defined in Cardano.Api.KeysPraos | |
| (Typeable lang, HasTypeProxy lang) => FromCBOR (PlutusScript lang) | |
Defined in Cardano.Api.Script | |
| FromCBOR a => FromCBOR (Vector a) | |
| FromCBOR (SignKeyDSIGN Ed25519DSIGN) | |
| FromCBOR (SignKeyDSIGN MockDSIGN) | |
| FromCBOR (SignKeyDSIGN Ed448DSIGN) | |
| FromCBOR (VerKeyDSIGN Ed25519DSIGN) | |
| FromCBOR (VerKeyDSIGN MockDSIGN) | |
| FromCBOR (VerKeyDSIGN Ed448DSIGN) | |
| FromCBOR (ATxAux ByteSpan) | |
| FromCBOR (ACertificate ByteSpan) | |
| FromCBOR (AProposal ByteSpan) | |
| FromCBOR (AVote ByteSpan) | |
| (Serialise t, Typeable t) => FromCBOR (WithOrigin t) | |
| Crypto crypto => FromCBOR (ShelleyGenesisStaking crypto) | |
| Crypto crypto => FromCBOR (Addr crypto) | |
| Crypto crypto => FromCBOR (GenDelegPair crypto) | |
| Era era => FromCBOR (PParams era) | |
| (Era era, FromCBOR (PParams era), FromSharedCBOR (TxOut era), Share (TxOut era) ~ Interns (Credential 'Staking (Crypto era)), FromCBOR (Value era), FromCBOR (State (EraRule "PPUP" era))) => FromCBOR (NewEpochState era) | |
| Crypto c => FromCBOR (ShelleyHash c) | |
| Era era => FromCBOR (ShelleyGenesis era) | |
Defined in Cardano.Ledger.Shelley.Genesis | |
| FromCBOR (CompactForm Coin) | |
| Crypto crypto => FromCBOR (CompactForm (Value crypto)) | |
| Crypto crypto => FromCBOR (PoolParams crypto) | |
| Era era => FromCBOR (CompactGenesis era) | |
| (Era era, FromCBOR (PParamsDelta era)) => FromCBOR (PPUPState era) | |
| FromCBOR a => FromCBOR (StrictMaybe a) | |
| Crypto crypto => FromCBOR (BHBody crypto) | |
| Crypto crypto => FromCBOR (PrevHash crypto) | |
| ShelleyBasedEra era => FromCBOR (Annotator (Header (ShelleyBlock era))) | |
| ShelleyBasedEra era => FromCBOR (Annotator (ShelleyBlock era)) | |
| (Era era, FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (AuxiliaryData era)), FromCBOR (Annotator (Witnesses era)), ValidateScript era, Script era ~ Script era) => FromCBOR (Annotator (ValidatedTx era)) | |
| Era era => FromCBOR (Annotator (Redeemers era)) | |
| (BlockAnn era, ValidateScript era, SupportsSegWit era, FromCBOR (Annotator (TxSeq era)), FromCBOR (Annotator (h (Crypto era))), Typeable h) => FromCBOR (Annotator (Block h era)) | |
| Crypto crypto => FromCBOR (Annotator (BHeader crypto)) | |
| (Era era, FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (AuxiliaryData era)), FromCBOR (Annotator (Witnesses era))) => FromCBOR (Annotator (Tx era)) | |
| (Era era, AnnotatedData (Script era)) => FromCBOR (Annotator (AuxiliaryData era)) | |
| Crypto crypto => FromCBOR (Annotator (Timelock crypto)) | |
| FamsFrom era => FromCBOR (Annotator (TxBody era)) | |
| (Typeable era, FromCBOR (Annotator (Script era)), ValidateScript era) => FromCBOR (Annotator (WitnessSetHKD Identity era)) | |
| (Era era, Ord (Script era), FromCBOR (Annotator (Script era)), Script era ~ Script era) => FromCBOR (Annotator (AuxiliaryData era)) | |
| Typeable era => FromCBOR (Annotator (Data era)) | |
| (Crypto (Crypto era), Typeable (Crypto era), Typeable era) => FromCBOR (Annotator (Script era)) | |
| (Era era, Ord (Script era), FromCBOR (Annotator (Script era)), Script era ~ Script era) => FromCBOR (Annotator (AuxiliaryDataRaw era)) | |
| (Typeable t, FromCBOR (Annotator t)) => FromCBOR (Annotator (MemoBytes t)) | |
| Crypto crypto => FromCBOR (Annotator (TimelockRaw crypto)) | |
| (Era era, AnnotatedData (Script era)) => FromCBOR (Annotator (AuxiliaryDataRaw era)) | |
| (BlockAnn era, Typeable era) => FromCBOR (Annotator (TxSeq era)) | |
| (Typeable kr, Crypto crypto) => FromCBOR (Annotator (WitVKey kr crypto)) | |
| (FromCBOR (Annotator (AuxiliaryData era)), FromCBOR (Annotator (Script era)), FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (Witnesses era)), ToCBOR (AuxiliaryData era), ToCBOR (Script era), ToCBOR (TxBody era), ToCBOR (Witnesses era), ValidateScript era, Script era ~ Script era, Era era) => FromCBOR (Annotator (TxSeq era)) | |
| (Era era, ValidateScript era, Script era ~ Script era) => FromCBOR (Annotator (TxWitness era)) | |
| Crypto crypto => FromCBOR (Annotator (MultiSigRaw crypto)) | |
| Crypto crypto => FromCBOR (Annotator (MultiSig crypto)) | |
| (Era era, FromCBOR (Annotator (TxBody era)), FromCBOR (Annotator (AuxiliaryData era)), FromCBOR (Annotator (Witnesses era))) => FromCBOR (Annotator (TxRaw era)) | |
| Crypto crypto => FromCBOR (Annotator (BootstrapWitness crypto)) | |
| (Era era, FromCBOR (TxOut era), FromCBOR (PParamsDelta era), ToCBOR (PParamsDelta era)) => FromCBOR (Annotator (TxBody era)) | |
| (TransTxBody FromCBOR era, ToCBOR (PParamsDelta era), Era era) => FromCBOR (Annotator (TxBodyRaw era)) | |
| Typeable era => FromCBOR (Annotator (Metadata era)) | |
| FamsFrom era => FromCBOR (Annotator (TxBodyRaw era)) | |
| (Era era, Typeable (Script era), Typeable (AuxiliaryData era), Compactible (Value era), Show (Value era), DecodeNonNegative (Value era), FromCBOR (Annotator (Script era)), SerialisableData (PParamsDelta era)) => FromCBOR (Annotator (TxBody era)) | |
| (Era era, Typeable (Script era), Typeable (AuxiliaryData era), Compactible (Value era), Show (Value era), DecodeNonNegative (Value era), FromCBOR (Annotator (Script era)), FromCBOR (PParamsDelta era), ToCBOR (PParamsDelta era)) => FromCBOR (Annotator (TxBodyRaw era)) | |
| (Era era, ToCBOR (Data era), ToCBOR (Script era), Typeable (Script era), ValidateScript era, Script era ~ Script era) => FromCBOR (Annotator (TxWitnessRaw era)) | |
| Era era => FromCBOR (Annotator (TxDats era)) | |
| Era era => FromCBOR (Annotator (RedeemersRaw era)) | |
| (Typeable era, Era era) => FromCBOR (Annotator (TxDatsRaw era)) | |
| Crypto crypto => FromCBOR (TxId crypto) | |
| Crypto crypto => FromCBOR (ScriptHash crypto) | |
| Crypto crypto => FromCBOR (AuxiliaryDataHash crypto) | |
| Crypto crypto => FromCBOR (IndividualPoolStake crypto) | |
| Crypto crypto => FromCBOR (PoolDistr crypto) | |
| (Era era, FromCBOR (TxOut era)) => FromCBOR (UTxO era) | |
| (Era era, FromCBOR (PParamsDelta era)) => FromCBOR (ProposedPPUpdates era) | |
| (FromCBOR (PParams era), TransValue FromCBOR era, HashAnnotated (TxBody era) EraIndependentTxBody (Crypto era), FromSharedCBOR (TxOut era), Share (TxOut era) ~ Interns (Credential 'Staking (Crypto era)), FromCBOR (State (EraRule "PPUP" era)), Era era) => FromCBOR (EpochState era) | |
| Crypto crypto => FromCBOR (ChainDepState crypto) | |
| Crypto crypto => FromCBOR (RewardProvenance crypto) | |
| Crypto crypto => FromCBOR (TxIn crypto) | |
| Crypto crypto => FromCBOR (PrtclState crypto) | |
| Era era => FromCBOR (PParams era) | |
| Crypto crypto => FromCBOR (FutureGenDeleg crypto) | |
| Crypto crypto => FromCBOR (GenDelegs crypto) | |
| Crypto crypto => FromCBOR (PolicyID crypto) | |
| Era era => FromCBOR (PParamsUpdate era) | |
| Era era => FromCBOR (PParamsUpdate era) | |
| Crypto crypto => FromCBOR (PulsingRewUpdate crypto) | |
| Crypto crypto => FromCBOR (Reward crypto) | |
| Crypto crypto => FromCBOR (RewardUpdate crypto) | |
| (Era era, DecodeNonNegative (Value era), Show (Value era), Compactible (Value era)) => FromCBOR (TxOut era) | |
| (Era era, TransTxOut DecodeNonNegative era, Show (Value era)) => FromCBOR (TxOut era) | |
| Crypto crypto => FromCBOR (Value crypto) | |
| FromCBOR (VerKeyVRF PraosVRF) | |
| FromCBOR (VerKeyVRF MockVRF) | |
| FromCBOR (VerKeyVRF SimpleVRF) | |
| Crypto crypto => FromCBOR (BlocksMade crypto) | |
| (Era era, FromCBOR (PParamsDelta era)) => FromCBOR (Update era) | |
| (FromCBOR (PredicateFailure (EraRule "DELEGS" era)), FromCBOR (PredicateFailure (EraRule "UTXOW" era)), Era era) => FromCBOR (LedgerPredicateFailure era) | |
| Crypto crypto => FromCBOR (DCert crypto) | |
| Crypto crypto => FromCBOR (Wdrl crypto) | |
| Crypto crypto => FromCBOR (RewardProvenancePool crypto) | |
| Crypto crypto => FromCBOR (RewardAcnt crypto) | |
| Crypto crypto => FromCBOR (CompactValue crypto) | |
| Crypto crypto => FromCBOR (CompactAddr crypto) | |
| DSIGNAlgorithm d => FromCBOR (VerKeyKES (SingleKES d)) | |
| (KESAlgorithm d, HashAlgorithm h, Typeable d) => FromCBOR (VerKeyKES (SumKES h d)) | |
| KnownNat t => FromCBOR (VerKeyKES (MockKES t)) | |
| (DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) => FromCBOR (VerKeyKES (SimpleKES d t)) | |
| FromCBOR (SignKeyVRF PraosVRF) | |
| FromCBOR (SignKeyVRF MockVRF) | |
| FromCBOR (SignKeyVRF SimpleVRF) | |
| DSIGNAlgorithm d => FromCBOR (SignKeyKES (SingleKES d)) | |
| (KESAlgorithm d, HashAlgorithm h, Typeable d) => FromCBOR (SignKeyKES (SumKES h d)) | |
| KnownNat t => FromCBOR (SignKeyKES (MockKES t)) | |
| (DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) => FromCBOR (SignKeyKES (SimpleKES d t)) | |
| DSIGNAlgorithm d => FromCBOR (SigKES (SingleKES d)) | |
| (KESAlgorithm d, HashAlgorithm h, Typeable d) => FromCBOR (SigKES (SumKES h d)) | |
| KnownNat t => FromCBOR (SigKES (MockKES t)) | |
| (DSIGNAlgorithm d, Typeable d, KnownNat t, KnownNat (SeedSizeDSIGN d * t)) => FromCBOR (SigKES (SimpleKES d t)) | |
| FromCBOR (SigDSIGN Ed25519DSIGN) | |
| FromCBOR (SigDSIGN MockDSIGN) | |
| FromCBOR (SigDSIGN Ed448DSIGN) | |
| (FromCBOR (TxOut era), Era era, FromCBOR (PParamsDelta era), ToCBOR (PParamsDelta era)) => FromCBOR (TxBodyRaw era) | |
| FamsFrom era => FromCBOR (TxBodyRaw era) | |
| (Era era, Typeable (Script era), Typeable (AuxiliaryData era), Compactible (Value era), Show (Value era), DecodeNonNegative (Value era), FromCBOR (Annotator (Script era)), FromCBOR (PParamsDelta era), ToCBOR (PParamsDelta era)) => FromCBOR (TxBodyRaw era) | |
| Typeable v => FromCBOR (OutputVRF v) | |
| FromCBOR (CertVRF PraosVRF) | |
| FromCBOR (CertVRF MockVRF) | |
| FromCBOR (CertVRF SimpleVRF) | |
| Typeable a => FromCBOR (RedeemSignature a) | |
| Typeable a => FromCBOR (Signature a) | |
| Crypto crypto => FromCBOR (CollectError crypto) | |
| (Typeable c, Crypto c) => FromCBOR (ScriptPurpose c) | |
| (Typeable era, FromCBOR (BbodyPredicateFailure era)) => FromCBOR (AlonzoBbodyPredFail era) | |
| (Era era, FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) => FromCBOR (AlonzoPredFail era) | |
| (Era era, FromCBOR (PredicateFailure (EraRule "DELPL" era)), Typeable (Script era)) => FromCBOR (DelegsPredicateFailure era) | |
| (Era era, FromCBOR (TxOut era), FromCBOR (Value era), FromCBOR (PredicateFailure (EraRule "UTXOS" era))) => FromCBOR (UtxoPredicateFailure era) | |
| (Era era, FromCBOR (PredicateFailure (EraRule "PPUP" era))) => FromCBOR (UtxosPredicateFailure era) | |
| Era era => FromCBOR (PpupPredicateFailure era) | |
| (Era era, FromCBOR (PredicateFailure (EraRule "UTXO" era)), Typeable (Script era), Typeable (AuxiliaryData era)) => FromCBOR (UtxowPredicateFailure era) | |
| FromCBOR (ABody ByteSpan) | |
| FromCBOR (APayload ByteSpan) | |
| FromCBOR (ABlockSignature ByteSpan) | |
| FromCBOR (ATxPayload ByteSpan) | |
| FromCBOR (APayload ByteSpan) | |
| FromCBOR (Attributes ()) | |
| FromCBOR (Attributes AddrAttributes) | |
| FromCBOR a => FromCBOR (MerkleRoot a) | |
| (FromCBOR a, ToCBOR a) => FromCBOR (MerkleTree a) | |
| FromCBOR n => FromCBOR (TooLarge n) | |
| Crypto crypto => FromCBOR (RewardSnapShot crypto) | |
| Crypto c => FromCBOR (RewardAns c) | |
| Crypto c => FromCBOR (Pulser c) | |
| Crypto crypto => FromCBOR (FreeVars crypto) | |
| Crypto crypto => FromCBOR (PoolRewardInfo crypto) | |
| Crypto crypto => FromCBOR (LeaderOnlyReward crypto) | |
| (Era era, Typeable (Script era)) => FromCBOR (DelegPredicateFailure era) | |
| (Era era, FromCBOR (PredicateFailure (EraRule "POOL" era)), FromCBOR (PredicateFailure (EraRule "DELEG" era)), Typeable (Script era)) => FromCBOR (DelplPredicateFailure era) | |
| Era era => FromCBOR (PoolPredicateFailure era) | |
| (Era era, FromCBOR (PredicateFailure (EraRule "LEDGER" era))) => FromCBOR (LedgersPredicateFailure era) | |
| (TransValue FromCBOR era, TransUTxO FromCBOR era, DecodeNonNegative (Value era), Show (Value era), FromCBOR (PredicateFailure (EraRule "PPUP" era))) => FromCBOR (UtxoPredicateFailure era) | |
| Crypto crypto => FromCBOR (MIRCert crypto) | |
| Crypto crypto => FromCBOR (MIRTarget crypto) | |
| Crypto crypto => FromCBOR (StakeCreds crypto) | |
| (TransValue FromCBOR era, TransUTxO FromCBOR era, DecodeNonNegative (Value era), Show (Value era), FromCBOR (PredicateFailure (EraRule "PPUP" era))) => FromCBOR (UtxoPredicateFailure era) | |
| Crypto crypto => FromCBOR (HashHeader crypto) | |
| Crypto crypto => FromCBOR (LastAppliedBlock crypto) | |
| Crypto crypto => FromCBOR (OBftSlot crypto) | |
| (Typeable era, TransLedgerState FromCBOR (ShelleyLedgerEra era), Share (TxOut (ShelleyLedgerEra era)) ~ Interns (Credential 'Staking (Crypto (ShelleyLedgerEra era))), FromSharedCBOR (TxOut (ShelleyLedgerEra era))) => FromCBOR (DebugLedgerState era) | |
Defined in Cardano.Api.Query Methods fromCBOR :: Decoder s (DebugLedgerState era) # label :: Proxy (DebugLedgerState era) -> Text # | |
| (FromCBOR a, FromCBOR b) => FromCBOR (Either a b) | |
| (FromCBOR a, FromCBOR b) => FromCBOR (a, b) | |
| (Ord k, FromCBOR k, FromCBOR v) => FromCBOR (Map k v) | |
| (Typeable algo, Typeable a, HashAlgorithm algo) => FromCBOR (AbstractHash algo a) | |
| (Crypto crypto, Typeable disc) => FromCBOR (KeyHash disc crypto) | |
| (Typeable kr, Crypto crypto) => FromCBOR (Credential kr crypto) | |
| (Crypto crypto, Typeable kd) => FromCBOR (VKey kd crypto) | |
| (Typeable index, Crypto c) => FromCBOR (SafeHash c index) | |
| (HashAlgorithm h, Typeable a) => FromCBOR (Hash h a) | |
| (VRFAlgorithm v, Typeable a) => FromCBOR (CertifiedVRF v a) | |
| (FromCBOR a, Bounded (BoundedRatio b a), Bounded a, Integral a, Typeable b, Typeable a, Show a) => FromCBOR (BoundedRatio b a) | |
| (FromCBOR a, FromCBOR b, FromCBOR c) => FromCBOR (a, b, c) | |
| (Typeable s, FromCBOR a) => FromCBOR (Tagged s a) | |
| (FromCBOR k, FromCBOR v, Ord k, Vector kv k, Vector vv v, Typeable kv, Typeable vv) => FromCBOR (KVVector kv vv (k, v)) | |
| (FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d) => FromCBOR (a, b, c, d) | |
| (Typeable kv, Typeable vv, FromCBOR k, FromCBOR v, Ord k, Vector kv k, Vector vv v) => FromCBOR (VMap kv vv k v) | |
| (FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d, FromCBOR e) => FromCBOR (a, b, c, d, e) | |
| (FromCBOR a, FromCBOR b, FromCBOR c, FromCBOR d, FromCBOR e, FromCBOR f, FromCBOR g) => FromCBOR (a, b, c, d, e, f, g) | |
anyAddressInEra :: CardanoEra era -> AddressAny -> Maybe (AddressInEra era) #
anyAddressInShelleyBasedEra :: IsShelleyBasedEra era => AddressAny -> AddressInEra era #
byronAddressInEra :: Address ByronAddr -> AddressInEra era #
isKeyAddress :: AddressInEra era -> Bool #
makeByronAddressInEra :: NetworkId -> VerificationKey ByronKey -> AddressInEra era #
makeShelleyAddress :: NetworkId -> PaymentCredential -> StakeAddressReference -> Address ShelleyAddr #
makeShelleyAddressInEra :: IsShelleyBasedEra era => NetworkId -> PaymentCredential -> StakeAddressReference -> AddressInEra era #
shelleyAddressInEra :: IsShelleyBasedEra era => Address ShelleyAddr -> AddressInEra era #
toAddressAny :: Address addr -> AddressAny #
chainPointToSlotNo :: ChainPoint -> Maybe SlotNo #
getBlockHeader :: Block era -> BlockHeader #
makeChainTip :: WithOrigin BlockNo -> ChainPoint -> ChainTip #
makeGenesisKeyDelegationCertificate :: Hash GenesisKey -> Hash GenesisDelegateKey -> Hash VrfKey -> Certificate #
makeMIRCertificate :: MIRPot -> MIRTarget -> Certificate #
anyCardanoEra :: CardanoEra era -> AnyCardanoEra #
cardanoEraStyle :: CardanoEra era -> CardanoEraStyle era #
shelleyBasedToCardanoEra :: ShelleyBasedEra era -> CardanoEra era #
throwErrorAsException :: Error e => e -> IO a #
calculateMinimumUTxO :: ShelleyBasedEra era -> TxOut CtxTx era -> ProtocolParameters -> Either MinimumUTxOError Value #
estimateTransactionFee :: IsShelleyBasedEra era => NetworkId -> Natural -> Natural -> Tx era -> Int -> Int -> Int -> Int -> Lovelace #
evaluateTransactionBalance :: IsShelleyBasedEra era => ProtocolParameters -> Set PoolId -> UTxO era -> TxBody era -> TxOutValue era #
evaluateTransactionExecutionUnits :: EraInMode era mode -> SystemStart -> EraHistory mode -> ProtocolParameters -> UTxO era -> TxBody era -> Either TransactionValidityError (Map ScriptWitnessIndex (Either ScriptExecutionError ExecutionUnits)) #
evaluateTransactionFee :: IsShelleyBasedEra era => ProtocolParameters -> TxBody era -> Word -> Word -> Lovelace #
makeTransactionBodyAutoBalance :: IsShelleyBasedEra era => EraInMode era mode -> SystemStart -> EraHistory mode -> ProtocolParameters -> Set PoolId -> UTxO era -> TxBodyContent BuildTx era -> AddressInEra era -> Maybe Word -> Either TxBodyErrorAutoBalance (BalancedTxBody era) #
transactionFee :: IsShelleyBasedEra era => Natural -> Natural -> Tx era -> Lovelace #
connectToLocalNode :: LocalNodeConnectInfo mode -> LocalNodeClientProtocolsInMode mode -> IO () #
connectToLocalNodeWithVersion :: LocalNodeConnectInfo mode -> (NodeToClientVersion -> LocalNodeClientProtocolsInMode mode) -> IO () #
consensusModeOnly :: ConsensusModeParams mode -> ConsensusMode mode #
getLocalChainTip :: LocalNodeConnectInfo mode -> IO ChainTip #
mkLocalNodeClientParams :: ConsensusBlockForMode mode ~ block => ConsensusModeParams mode -> (NodeToClientVersion -> LocalNodeClientProtocolsInMode mode) -> LocalNodeClientParams #
queryNodeLocalState :: LocalNodeConnectInfo mode -> Maybe ChainPoint -> QueryInMode mode result -> IO (Either AcquireFailure result) #
submitTxToNodeLocal :: LocalNodeConnectInfo mode -> TxInMode mode -> IO (SubmitResult (TxValidationErrorInMode mode)) #
determineEraExpr :: ConsensusModeParams mode -> LocalStateQueryExpr block point (QueryInMode mode) r IO AnyCardanoEra #
executeLocalStateQueryExpr :: LocalNodeConnectInfo mode -> Maybe ChainPoint -> (NodeToClientVersion -> LocalStateQueryExpr (BlockInMode mode) ChainPoint (QueryInMode mode) () IO a) -> IO (Either AcquireFailure a) #
queryExpr :: QueryInMode mode a -> LocalStateQueryExpr block point (QueryInMode mode) r IO a #
generateSigningKey :: Key keyrole => AsType keyrole -> IO (SigningKey keyrole) #
applyBlock :: Env -> LedgerState -> ValidationMode -> Block era -> Either LedgerStateError LedgerStateEvents #
chainSyncClientPipelinedWithLedgerState :: forall (m :: Type -> Type) a. Monad m => Env -> LedgerState -> ValidationMode -> ChainSyncClientPipelined (BlockInMode CardanoMode, Either LedgerStateError (LedgerState, [LedgerEvent])) ChainPoint ChainTip m a -> ChainSyncClientPipelined (BlockInMode CardanoMode) ChainPoint ChainTip m a #
chainSyncClientWithLedgerState :: forall (m :: Type -> Type) a. Monad m => Env -> LedgerState -> ValidationMode -> ChainSyncClient (BlockInMode CardanoMode, Either LedgerStateError (LedgerState, [LedgerEvent])) ChainPoint ChainTip m a -> ChainSyncClient (BlockInMode CardanoMode) ChainPoint ChainTip m a #
envSecurityParam :: Env -> Word64 #
foldBlocks :: FilePath -> FilePath -> ValidationMode -> a -> (Env -> LedgerState -> [LedgerEvent] -> BlockInMode CardanoMode -> a -> IO a) -> ExceptT FoldBlocksError IO a #
renderMode :: AnyConsensusMode -> Text #
toEraInMode :: CardanoEra era -> ConsensusMode mode -> Maybe (EraInMode era mode) #
toNetworkMagic :: NetworkId -> NetworkMagic #
issueOperationalCertificate :: VerificationKey KesKey -> Either (SigningKey StakePoolKey) (SigningKey GenesisDelegateExtendedKey) -> KESPeriod -> OperationalCertificateIssueCounter -> Either OperationalCertIssueError (OperationalCertificate, OperationalCertificateIssueCounter) #
fromLedgerPParams :: ShelleyBasedEra era -> PParams (ShelleyLedgerEra era) -> ProtocolParameters #
makePraosNonce :: ByteString -> PraosNonce #
makeShelleyUpdateProposal :: ProtocolParametersUpdate -> [Hash GenesisKey] -> EpochNo -> UpdateProposal #
toLedgerPParams :: ShelleyBasedEra era -> ProtocolParameters -> PParams (ShelleyLedgerEra era) #
validateCostModel :: PlutusScriptVersion lang -> CostModel -> Either InvalidCostModel () #
getProgress :: SlotNo -> EraHistory mode -> Either PastHorizonException (RelativeTime, SlotLength) #
slotToEpoch :: SlotNo -> EraHistory mode -> Either PastHorizonException (EpochNo, SlotsInEpoch, SlotsToEpochEnd) #
adjustSimpleScriptVersion :: SimpleScriptVersion lang' -> SimpleScript lang -> Maybe (SimpleScript lang') #
eraOfScriptInEra :: ScriptInEra era -> ShelleyBasedEra era #
eraOfScriptLanguageInEra :: ScriptLanguageInEra lang era -> ShelleyBasedEra era #
examplePlutusScriptAlwaysFails :: WitCtx witctx -> PlutusScript PlutusScriptV1 #
examplePlutusScriptAlwaysSucceeds :: WitCtx witctx -> PlutusScript PlutusScriptV1 #
hashScript :: Script lang -> ScriptHash #
languageOfScriptLanguageInEra :: ScriptLanguageInEra lang era -> ScriptLanguage lang #
scriptWitnessScript :: ScriptWitness witctx era -> ScriptInEra era #
timeLocksSupported :: SimpleScriptVersion lang -> Maybe (TimeLocksSupported lang) #
toScriptInAnyLang :: Script lang -> ScriptInAnyLang #
toScriptInEra :: CardanoEra era -> ScriptInAnyLang -> Maybe (ScriptInEra era) #
hashScriptData :: ScriptData -> Hash ScriptData #
scriptDataFromJson :: ScriptDataJsonSchema -> Value -> Either ScriptDataJsonError ScriptData #
scriptDataToJson :: ScriptDataJsonSchema -> ScriptData -> Value #
deserialiseAnyOfFromBech32 :: [FromSomeType SerialiseAsBech32 b] -> Text -> Either Bech32DecodeError b #
deserialiseFromBech32 :: SerialiseAsBech32 a => AsType a -> Text -> Either Bech32DecodeError a #
serialiseToBech32 :: SerialiseAsBech32 a => a -> Text #
deserialiseFromJSON :: FromJSON a => AsType a -> ByteString -> Either JsonDecodeError a #
prettyPrintJSON :: ToJSON a => a -> ByteString #
readFileJSON :: FromJSON a => AsType a -> FilePath -> IO (Either (FileError JsonDecodeError) a) #
serialiseToJSON :: ToJSON a => a -> ByteString #
deserialiseTxLedgerCddl :: IsCardanoEra era => CardanoEra era -> TextEnvelopeCddl -> Either TextEnvelopeCddlError (Tx era) #
deserialiseWitnessLedgerCddl :: ShelleyBasedEra era -> TextEnvelopeCddl -> Either TextEnvelopeCddlError (KeyWitness era) #
readFileTextEnvelopeCddlAnyOf :: [FromSomeTypeCDDL TextEnvelopeCddl b] -> FilePath -> IO (Either (FileError TextEnvelopeCddlError) b) #
serialiseTxLedgerCddl :: IsCardanoEra era => Tx era -> TextEnvelopeCddl #
serialiseWitnessLedgerCddl :: ShelleyBasedEra era -> KeyWitness era -> TextEnvelopeCddl #
writeTxFileTextEnvelopeCddl :: IsCardanoEra era => FilePath -> Tx era -> IO (Either (FileError ()) ()) #
writeTxWitnessFileTextEnvelopeCddl :: ShelleyBasedEra era -> FilePath -> KeyWitness era -> IO (Either (FileError ()) ()) #
deserialiseFromRawBytesHex :: SerialiseAsRawBytes a => AsType a -> ByteString -> Maybe a #
serialiseToRawBytesHex :: SerialiseAsRawBytes a => a -> ByteString #
serialiseToRawBytesHexText :: SerialiseAsRawBytes a => a -> Text #
deserialiseFromTextEnvelope :: HasTextEnvelope a => AsType a -> TextEnvelope -> Either TextEnvelopeError a #
deserialiseFromTextEnvelopeAnyOf :: [FromSomeType HasTextEnvelope b] -> TextEnvelope -> Either TextEnvelopeError b #
readFileTextEnvelope :: HasTextEnvelope a => AsType a -> FilePath -> IO (Either (FileError TextEnvelopeError) a) #
readFileTextEnvelopeAnyOf :: [FromSomeType HasTextEnvelope b] -> FilePath -> IO (Either (FileError TextEnvelopeError) b) #
readTextEnvelopeOfTypeFromFile :: TextEnvelopeType -> FilePath -> IO (Either (FileError TextEnvelopeError) TextEnvelope) #
serialiseToTextEnvelope :: HasTextEnvelope a => Maybe TextEnvelopeDescr -> a -> TextEnvelope #
writeFileTextEnvelope :: HasTextEnvelope a => FilePath -> Maybe TextEnvelopeDescr -> a -> IO (Either (FileError ()) ()) #
writeFileTextEnvelopeWithOwnerPermissions :: HasTextEnvelope a => FilePath -> Maybe TextEnvelopeDescr -> a -> IO (Either (FileError ()) ()) #
validateAndHashStakePoolMetadata :: ByteString -> Either StakePoolMetadataValidationError (StakePoolMetadata, Hash StakePoolMetadata) #
getTxWitnesses :: Tx era -> [KeyWitness era] #
makeByronKeyWitness :: IsByronKey key => NetworkId -> TxBody ByronEra -> SigningKey key -> KeyWitness ByronEra #
makeShelleyBootstrapWitness :: IsShelleyBasedEra era => WitnessNetworkIdOrByronAddress -> TxBody era -> SigningKey ByronKey -> KeyWitness era #
makeShelleyKeyWitness :: IsShelleyBasedEra era => TxBody era -> ShelleyWitnessSigningKey -> KeyWitness era #
makeSignedTransaction :: [KeyWitness era] -> TxBody era -> Tx era #
signByronTransaction :: NetworkId -> TxBody ByronEra -> [SigningKey ByronKey] -> Tx ByronEra #
signShelleyTransaction :: IsShelleyBasedEra era => TxBody era -> [ShelleyWitnessSigningKey] -> Tx era #
auxScriptsSupportedInEra :: CardanoEra era -> Maybe (AuxScriptsSupportedInEra era) #
certificatesSupportedInEra :: CardanoEra era -> Maybe (CertificatesSupportedInEra era) #
collateralSupportedInEra :: CardanoEra era -> Maybe (CollateralSupportedInEra era) #
collectTxBodyScriptWitnesses :: TxBodyContent BuildTx era -> [(ScriptWitnessIndex, AnyScriptWitness era)] #
extraKeyWitnessesSupportedInEra :: CardanoEra era -> Maybe (TxExtraKeyWitnessesSupportedInEra era) #
fromLedgerTxOuts :: ShelleyBasedEra era -> TxBody (ShelleyLedgerEra era) -> TxBodyScriptData era -> [TxOut CtxTx era] #
genesisUTxOPseudoTxIn :: NetworkId -> Hash GenesisUTxOKey -> TxIn #
lovelaceToTxOutValue :: IsCardanoEra era => Lovelace -> TxOutValue era #
makeTransactionBody :: IsCardanoEra era => TxBodyContent BuildTx era -> Either TxBodyError (TxBody era) #
mapTxScriptWitnesses :: (forall witctx. ScriptWitnessIndex -> ScriptWitness witctx era -> ScriptWitness witctx era) -> TxBodyContent BuildTx era -> TxBodyContent BuildTx era #
renderTxIn :: TxIn -> Text #
scriptValidityToTxScriptValidity :: ShelleyBasedEra era -> ScriptValidity -> TxScriptValidity era #
txFeesExplicitInEra :: CardanoEra era -> Either (TxFeesImplicitInEra era) (TxFeesExplicitInEra era) #
txMetadataSupportedInEra :: CardanoEra era -> Maybe (TxMetadataSupportedInEra era) #
txOutValueToLovelace :: TxOutValue era -> Lovelace #
txOutValueToValue :: TxOutValue era -> Value #
txScriptValiditySupportedInCardanoEra :: CardanoEra era -> Maybe (TxScriptValiditySupportedInEra era) #
txScriptValiditySupportedInShelleyBasedEra :: ShelleyBasedEra era -> Maybe (TxScriptValiditySupportedInEra era) #
updateProposalSupportedInEra :: CardanoEra era -> Maybe (UpdateProposalSupportedInEra era) #
validityLowerBoundSupportedInEra :: CardanoEra era -> Maybe (ValidityLowerBoundSupportedInEra era) #
validityNoUpperBoundSupportedInEra :: CardanoEra era -> Maybe (ValidityNoUpperBoundSupportedInEra era) #
validityUpperBoundSupportedInEra :: CardanoEra era -> Maybe (ValidityUpperBoundSupportedInEra era) #
withdrawalsSupportedInEra :: CardanoEra era -> Maybe (WithdrawalsSupportedInEra era) #
metadataFromJson :: TxMetadataJsonSchema -> Value -> Either TxMetadataJsonError TxMetadata #
metadataToJson :: TxMetadataJsonSchema -> TxMetadata -> Value #
metadataValueToJsonNoSchema :: TxMetadataValue -> Value #
validateTxMetadata :: TxMetadata -> Either [(Word64, TxMetadataRangeError)] () #
runParsecParser :: Parser a -> Text -> Parser a #
lovelaceToQuantity :: Lovelace -> Quantity #
lovelaceToValue :: Lovelace -> Value #
negateValue :: Value -> Value #
quantityToLovelace :: Quantity -> Lovelace #
renderValue :: Value -> Text #
renderValuePretty :: Value -> Text #
scriptPolicyId :: Script lang -> PolicyId #
selectAsset :: Value -> AssetId -> Quantity #
selectLovelace :: Value -> Lovelace #
valueFromList :: [(AssetId, Quantity)] -> Value #
valueToList :: Value -> [(AssetId, Quantity)] #
valueToLovelace :: Value -> Maybe Lovelace #
valueToNestedRep :: Value -> ValueNestedRep #
parseValue :: Parser Value #
Constructors
| ByronAddress :: Address -> Address ByronAddr | |
| ShelleyAddress :: Network -> PaymentCredential StandardCrypto -> StakeReference StandardCrypto -> Address ShelleyAddr |
Instances
data AddressAny #
Constructors
| AddressByron !(Address ByronAddr) | |
| AddressShelley !(Address ShelleyAddr) |
Instances
Instances
| HasTypeProxy ByronAddr | |
Defined in Cardano.Api.Address | |
| Arbitrary (Address ByronAddr) # | |
| ToJSON (Address ByronAddr) # | |
Defined in Hydra.Cardano.Api.Address | |
| FromJSON (Address ByronAddr) # | |
Defined in Hydra.Cardano.Api.Address | |
| SerialiseAddress (Address ByronAddr) | |
Defined in Cardano.Api.Address | |
| SerialiseAsRawBytes (Address ByronAddr) | |
Defined in Cardano.Api.Address Methods serialiseToRawBytes :: Address ByronAddr -> ByteString # deserialiseFromRawBytes :: AsType (Address ByronAddr) -> ByteString -> Maybe (Address ByronAddr) # | |
| data AsType ByronAddr | |
Defined in Cardano.Api.Address | |
data PaymentCredential #
Constructors
| PaymentCredentialByKey (Hash PaymentKey) | |
| PaymentCredentialByScript ScriptHash |
Instances
| Eq PaymentCredential | |
Defined in Cardano.Api.Address Methods (==) :: PaymentCredential -> PaymentCredential -> Bool # (/=) :: PaymentCredential -> PaymentCredential -> Bool # | |
| Ord PaymentCredential | |
Defined in Cardano.Api.Address Methods compare :: PaymentCredential -> PaymentCredential -> Ordering # (<) :: PaymentCredential -> PaymentCredential -> Bool # (<=) :: PaymentCredential -> PaymentCredential -> Bool # (>) :: PaymentCredential -> PaymentCredential -> Bool # (>=) :: PaymentCredential -> PaymentCredential -> Bool # max :: PaymentCredential -> PaymentCredential -> PaymentCredential # min :: PaymentCredential -> PaymentCredential -> PaymentCredential # | |
| Show PaymentCredential | |
Defined in Cardano.Api.Address Methods showsPrec :: Int -> PaymentCredential -> ShowS # show :: PaymentCredential -> String # showList :: [PaymentCredential] -> ShowS # | |
class HasTypeProxy addr => SerialiseAddress addr where #
Instances
| SerialiseAddress AddressAny | |
Defined in Cardano.Api.Address Methods serialiseAddress :: AddressAny -> Text # deserialiseAddress :: AsType AddressAny -> Text -> Maybe AddressAny # | |
| SerialiseAddress StakeAddress | |
Defined in Cardano.Api.Address Methods serialiseAddress :: StakeAddress -> Text # deserialiseAddress :: AsType StakeAddress -> Text -> Maybe StakeAddress # | |
| SerialiseAddress (Address ByronAddr) | |
Defined in Cardano.Api.Address | |
| SerialiseAddress (Address ShelleyAddr) | |
Defined in Cardano.Api.Address Methods serialiseAddress :: Address ShelleyAddr -> Text # deserialiseAddress :: AsType (Address ShelleyAddr) -> Text -> Maybe (Address ShelleyAddr) # | |
| IsCardanoEra era => SerialiseAddress (AddressInEra era) | |
Defined in Cardano.Api.Address Methods serialiseAddress :: AddressInEra era -> Text # deserialiseAddress :: AsType (AddressInEra era) -> Text -> Maybe (AddressInEra era) # | |
data ShelleyAddr #
Instances
| HasTypeProxy ShelleyAddr | |
| SerialiseAddress (Address ShelleyAddr) | |
Defined in Cardano.Api.Address Methods serialiseAddress :: Address ShelleyAddr -> Text # deserialiseAddress :: AsType (Address ShelleyAddr) -> Text -> Maybe (Address ShelleyAddr) # | |
| SerialiseAsBech32 (Address ShelleyAddr) | |
Defined in Cardano.Api.Address Methods bech32PrefixFor :: Address ShelleyAddr -> Text bech32PrefixesPermitted :: AsType (Address ShelleyAddr) -> [Text] | |
| SerialiseAsRawBytes (Address ShelleyAddr) | |
Defined in Cardano.Api.Address Methods serialiseToRawBytes :: Address ShelleyAddr -> ByteString # deserialiseFromRawBytes :: AsType (Address ShelleyAddr) -> ByteString -> Maybe (Address ShelleyAddr) # | |
| data AsType ShelleyAddr | |
Defined in Cardano.Api.Address | |
data StakeAddress #
Instances
newtype StakeAddressPointer #
Constructors
| StakeAddressPointer | |
Fields
| |
Instances
| Eq StakeAddressPointer | |
Defined in Cardano.Api.Address Methods (==) :: StakeAddressPointer -> StakeAddressPointer -> Bool # (/=) :: StakeAddressPointer -> StakeAddressPointer -> Bool # | |
| Show StakeAddressPointer | |
Defined in Cardano.Api.Address Methods showsPrec :: Int -> StakeAddressPointer -> ShowS # show :: StakeAddressPointer -> String # showList :: [StakeAddressPointer] -> ShowS # | |
data StakeAddressReference #
Constructors
| StakeAddressByValue StakeCredential | |
| StakeAddressByPointer StakeAddressPointer | |
| NoStakeAddress |
Instances
| Eq StakeAddressReference | |
Defined in Cardano.Api.Address Methods (==) :: StakeAddressReference -> StakeAddressReference -> Bool # (/=) :: StakeAddressReference -> StakeAddressReference -> Bool # | |
| Show StakeAddressReference | |
Defined in Cardano.Api.Address Methods showsPrec :: Int -> StakeAddressReference -> ShowS # show :: StakeAddressReference -> String # showList :: [StakeAddressReference] -> ShowS # | |
data StakeCredential #
Instances
| Eq StakeCredential | |
Defined in Cardano.Api.Address Methods (==) :: StakeCredential -> StakeCredential -> Bool # (/=) :: StakeCredential -> StakeCredential -> Bool # | |
| Ord StakeCredential | |
Defined in Cardano.Api.Address Methods compare :: StakeCredential -> StakeCredential -> Ordering # (<) :: StakeCredential -> StakeCredential -> Bool # (<=) :: StakeCredential -> StakeCredential -> Bool # (>) :: StakeCredential -> StakeCredential -> Bool # (>=) :: StakeCredential -> StakeCredential -> Bool # max :: StakeCredential -> StakeCredential -> StakeCredential # min :: StakeCredential -> StakeCredential -> StakeCredential # | |
| Show StakeCredential | |
Defined in Cardano.Api.Address Methods showsPrec :: Int -> StakeCredential -> ShowS # show :: StakeCredential -> String # showList :: [StakeCredential] -> ShowS # | |
Bundled Patterns
| pattern Block :: BlockHeader -> [Tx era] -> Block era |
data BlockHeader #
Constructors
| BlockHeader !SlotNo !(Hash BlockHeader) !BlockNo |
Instances
data BlockInMode mode where #
Constructors
| BlockInMode :: forall era mode. Block era -> EraInMode era mode -> BlockInMode mode |
Instances
| Show (BlockInMode mode) | |
Defined in Cardano.Api.Block Methods showsPrec :: Int -> BlockInMode mode -> ShowS # show :: BlockInMode mode -> String # showList :: [BlockInMode mode] -> ShowS # | |
data ChainPoint #
Constructors
| ChainPointAtGenesis | |
| ChainPoint !SlotNo !(Hash BlockHeader) |
Instances
| Eq ChainPoint | |
Defined in Cardano.Api.Block | |
| Ord ChainPoint # | |
Defined in Hydra.Cardano.Api.Point Methods compare :: ChainPoint -> ChainPoint -> Ordering # (<) :: ChainPoint -> ChainPoint -> Bool # (<=) :: ChainPoint -> ChainPoint -> Bool # (>) :: ChainPoint -> ChainPoint -> Bool # (>=) :: ChainPoint -> ChainPoint -> Bool # max :: ChainPoint -> ChainPoint -> ChainPoint # min :: ChainPoint -> ChainPoint -> ChainPoint # | |
| Show ChainPoint | |
Defined in Cardano.Api.Block Methods showsPrec :: Int -> ChainPoint -> ShowS # show :: ChainPoint -> String # showList :: [ChainPoint] -> ShowS # | |
Constructors
| ChainTipAtGenesis | |
| ChainTip !SlotNo !(Hash BlockHeader) !BlockNo |
Instances
| Eq ChainTip | |
| Show ChainTip | |
| ToJSON ChainTip | |
Defined in Cardano.Api.Block Methods toEncoding :: ChainTip -> Encoding # toJSONList :: [ChainTip] -> Value # toEncodingList :: [ChainTip] -> Encoding # | |
data Certificate #
Constructors
Instances
Constructors
| StakeAddressesMIR [(StakeCredential, Lovelace)] | |
| SendToReservesMIR Lovelace | |
| SendToTreasuryMIR Lovelace |
Instances
data StakePoolMetadataReference #
Instances
| Eq StakePoolMetadataReference | |
Defined in Cardano.Api.Certificate Methods (==) :: StakePoolMetadataReference -> StakePoolMetadataReference -> Bool # (/=) :: StakePoolMetadataReference -> StakePoolMetadataReference -> Bool # | |
| Show StakePoolMetadataReference | |
Defined in Cardano.Api.Certificate Methods showsPrec :: Int -> StakePoolMetadataReference -> ShowS # show :: StakePoolMetadataReference -> String # showList :: [StakePoolMetadataReference] -> ShowS # | |
data StakePoolParameters #
Instances
| Eq StakePoolParameters | |
Defined in Cardano.Api.Certificate Methods (==) :: StakePoolParameters -> StakePoolParameters -> Bool # (/=) :: StakePoolParameters -> StakePoolParameters -> Bool # | |
| Show StakePoolParameters | |
Defined in Cardano.Api.Certificate Methods showsPrec :: Int -> StakePoolParameters -> ShowS # show :: StakePoolParameters -> String # showList :: [StakePoolParameters] -> ShowS # | |
data StakePoolRelay #
Instances
| Eq StakePoolRelay | |
Defined in Cardano.Api.Certificate Methods (==) :: StakePoolRelay -> StakePoolRelay -> Bool # (/=) :: StakePoolRelay -> StakePoolRelay -> Bool # | |
| Show StakePoolRelay | |
Defined in Cardano.Api.Certificate Methods showsPrec :: Int -> StakePoolRelay -> ShowS # show :: StakePoolRelay -> String # showList :: [StakePoolRelay] -> ShowS # | |
type Allegra = AllegraEra #
data AllegraEra #
Instances
| IsCardanoEra AllegraEra | |
Defined in Cardano.Api.Eras Methods | |
| IsShelleyBasedEra AllegraEra | |
Defined in Cardano.Api.Eras Methods | |
| HasTypeProxy AllegraEra | |
| FromJSON (EraInMode AllegraEra CardanoMode) | |
Defined in Cardano.Api.Modes Methods parseJSON :: Value -> Parser (EraInMode AllegraEra CardanoMode) # parseJSONList :: Value -> Parser [EraInMode AllegraEra CardanoMode] # | |
| data AsType AllegraEra | |
Defined in Cardano.Api.Eras | |
Instances
| IsCardanoEra AlonzoEra | |
Defined in Cardano.Api.Eras Methods | |
| IsShelleyBasedEra AlonzoEra | |
Defined in Cardano.Api.Eras Methods | |
| HasTypeProxy AlonzoEra | |
Defined in Cardano.Api.Eras | |
| HasMultiAsset AlonzoEra # | |
Defined in Hydra.Cardano.Api.MultiAssetSupportedInEra | |
| HasScriptData AlonzoEra # | |
Defined in Hydra.Cardano.Api.ScriptDataSupportedInEra | |
| HasScriptLanguage PlutusScriptV1 AlonzoEra # | |
Defined in Hydra.Cardano.Api.ScriptLanguageInEra | |
| HasScriptLanguage PlutusScriptV2 AlonzoEra # | |
Defined in Hydra.Cardano.Api.ScriptLanguageInEra | |
| FromJSON (EraInMode AlonzoEra CardanoMode) | |
Defined in Cardano.Api.Modes Methods parseJSON :: Value -> Parser (EraInMode AlonzoEra CardanoMode) # parseJSONList :: Value -> Parser [EraInMode AlonzoEra CardanoMode] # | |
| data AsType AlonzoEra | |
Defined in Cardano.Api.Eras | |
data AnyCardanoEra where #
Constructors
| AnyCardanoEra :: forall era. IsCardanoEra era => CardanoEra era -> AnyCardanoEra |
Instances
Instances
| IsCardanoEra ByronEra | |
Defined in Cardano.Api.Eras Methods | |
| HasTypeProxy ByronEra | |
Defined in Cardano.Api.Eras | |
| FromJSON (EraInMode ByronEra CardanoMode) | |
Defined in Cardano.Api.Modes Methods parseJSON :: Value -> Parser (EraInMode ByronEra CardanoMode) # parseJSONList :: Value -> Parser [EraInMode ByronEra CardanoMode] # | |
| FromJSON (EraInMode ByronEra ByronMode) | |
Defined in Cardano.Api.Modes | |
| data AsType ByronEra | |
Defined in Cardano.Api.Eras | |
data CardanoEra era where #
Constructors
| ByronEra :: CardanoEra ByronEra | |
| ShelleyEra :: CardanoEra ShelleyEra | |
| AllegraEra :: CardanoEra AllegraEra | |
| MaryEra :: CardanoEra MaryEra | |
| AlonzoEra :: CardanoEra AlonzoEra |
Instances
data CardanoEraStyle era where #
Constructors
| LegacyByronEra :: CardanoEraStyle ByronEra | |
| ShelleyBasedEra :: forall era. IsShelleyBasedEra era => ShelleyBasedEra era -> CardanoEraStyle era |
Instances
| Eq (CardanoEraStyle era) | |
Defined in Cardano.Api.Eras Methods (==) :: CardanoEraStyle era -> CardanoEraStyle era -> Bool # (/=) :: CardanoEraStyle era -> CardanoEraStyle era -> Bool # | |
| Ord (CardanoEraStyle era) | |
Defined in Cardano.Api.Eras Methods compare :: CardanoEraStyle era -> CardanoEraStyle era -> Ordering # (<) :: CardanoEraStyle era -> CardanoEraStyle era -> Bool # (<=) :: CardanoEraStyle era -> CardanoEraStyle era -> Bool # (>) :: CardanoEraStyle era -> CardanoEraStyle era -> Bool # (>=) :: CardanoEraStyle era -> CardanoEraStyle era -> Bool # max :: CardanoEraStyle era -> CardanoEraStyle era -> CardanoEraStyle era # min :: CardanoEraStyle era -> CardanoEraStyle era -> CardanoEraStyle era # | |
| Show (CardanoEraStyle era) | |
Defined in Cardano.Api.Eras Methods showsPrec :: Int -> CardanoEraStyle era -> ShowS # show :: CardanoEraStyle era -> String # showList :: [CardanoEraStyle era] -> ShowS # | |
data InAnyCardanoEra (thing :: Type -> Type) where #
Constructors
| InAnyCardanoEra :: forall era (thing :: Type -> Type). IsCardanoEra era => CardanoEra era -> thing era -> InAnyCardanoEra thing |
data InAnyShelleyBasedEra (thing :: Type -> Type) where #
Constructors
| InAnyShelleyBasedEra :: forall era (thing :: Type -> Type). IsShelleyBasedEra era => ShelleyBasedEra era -> thing era -> InAnyShelleyBasedEra thing |
class HasTypeProxy era => IsCardanoEra era where #
Methods
cardanoEra :: CardanoEra era #
Instances
| IsCardanoEra AllegraEra | |
Defined in Cardano.Api.Eras Methods | |
| IsCardanoEra AlonzoEra | |
Defined in Cardano.Api.Eras Methods | |
| IsCardanoEra ByronEra | |
Defined in Cardano.Api.Eras Methods | |
| IsCardanoEra MaryEra | |
Defined in Cardano.Api.Eras Methods | |
| IsCardanoEra ShelleyEra | |
Defined in Cardano.Api.Eras Methods | |
class IsCardanoEra era => IsShelleyBasedEra era where #
Methods
shelleyBasedEra :: ShelleyBasedEra era #
Instances
| IsShelleyBasedEra AllegraEra | |
Defined in Cardano.Api.Eras Methods | |
| IsShelleyBasedEra AlonzoEra | |
Defined in Cardano.Api.Eras Methods | |
| IsShelleyBasedEra MaryEra | |
Defined in Cardano.Api.Eras Methods | |
| IsShelleyBasedEra ShelleyEra | |
Defined in Cardano.Api.Eras Methods | |
Instances
| IsCardanoEra MaryEra | |
Defined in Cardano.Api.Eras Methods | |
| IsShelleyBasedEra MaryEra | |
Defined in Cardano.Api.Eras Methods | |
| HasTypeProxy MaryEra | |
Defined in Cardano.Api.Eras | |
| HasMultiAsset MaryEra # | |
Defined in Hydra.Cardano.Api.MultiAssetSupportedInEra | |
| FromJSON (EraInMode MaryEra CardanoMode) | |
Defined in Cardano.Api.Modes Methods parseJSON :: Value -> Parser (EraInMode MaryEra CardanoMode) # parseJSONList :: Value -> Parser [EraInMode MaryEra CardanoMode] # | |
| data AsType MaryEra | |
Defined in Cardano.Api.Eras | |
type Shelley = ShelleyEra #
data ShelleyBasedEra era where #
Constructors
Instances
| Eq (ShelleyBasedEra era) | |
Defined in Cardano.Api.Eras Methods (==) :: ShelleyBasedEra era -> ShelleyBasedEra era -> Bool # (/=) :: ShelleyBasedEra era -> ShelleyBasedEra era -> Bool # | |
| Ord (ShelleyBasedEra era) | |
Defined in Cardano.Api.Eras Methods compare :: ShelleyBasedEra era -> ShelleyBasedEra era -> Ordering # (<) :: ShelleyBasedEra era -> ShelleyBasedEra era -> Bool # (<=) :: ShelleyBasedEra era -> ShelleyBasedEra era -> Bool # (>) :: ShelleyBasedEra era -> ShelleyBasedEra era -> Bool # (>=) :: ShelleyBasedEra era -> ShelleyBasedEra era -> Bool # max :: ShelleyBasedEra era -> ShelleyBasedEra era -> ShelleyBasedEra era # min :: ShelleyBasedEra era -> ShelleyBasedEra era -> ShelleyBasedEra era # | |
| Show (ShelleyBasedEra era) | |
Defined in Cardano.Api.Eras Methods showsPrec :: Int -> ShelleyBasedEra era -> ShowS # show :: ShelleyBasedEra era -> String # showList :: [ShelleyBasedEra era] -> ShowS # | |
data ShelleyEra #
Instances
| IsCardanoEra ShelleyEra | |
Defined in Cardano.Api.Eras Methods | |
| IsShelleyBasedEra ShelleyEra | |
Defined in Cardano.Api.Eras Methods | |
| HasTypeProxy ShelleyEra | |
| FromJSON (EraInMode ShelleyEra CardanoMode) | |
Defined in Cardano.Api.Modes Methods parseJSON :: Value -> Parser (EraInMode ShelleyEra CardanoMode) # parseJSONList :: Value -> Parser [EraInMode ShelleyEra CardanoMode] # | |
| FromJSON (EraInMode ShelleyEra ShelleyMode) | |
Defined in Cardano.Api.Modes Methods parseJSON :: Value -> Parser (EraInMode ShelleyEra ShelleyMode) # parseJSONList :: Value -> Parser [EraInMode ShelleyEra ShelleyMode] # | |
| data AsType ShelleyEra | |
Defined in Cardano.Api.Eras | |
class Show e => Error e where #
Methods
displayError :: e -> String #
Instances
Constructors
| FileError FilePath e | |
| FileErrorTempFile FilePath FilePath Handle | |
| FileIOError FilePath IOException |
data MinimumUTxOError #
Instances
| Show MinimumUTxOError | |
Defined in Cardano.Api.Fees Methods showsPrec :: Int -> MinimumUTxOError -> ShowS # show :: MinimumUTxOError -> String # showList :: [MinimumUTxOError] -> ShowS # | |
| Error MinimumUTxOError | |
Defined in Cardano.Api.Fees Methods displayError :: MinimumUTxOError -> String # | |
data ScriptExecutionError #
Constructors
Instances
| Show ScriptExecutionError | |
Defined in Cardano.Api.Fees Methods showsPrec :: Int -> ScriptExecutionError -> ShowS # show :: ScriptExecutionError -> String # showList :: [ScriptExecutionError] -> ShowS # | |
| Error ScriptExecutionError | |
Defined in Cardano.Api.Fees Methods | |
data TransactionValidityError #
Constructors
| TransactionValidityIntervalError PastHorizonException | |
| TransactionValidityBasicFailure (BasicFailure StandardCrypto) |
Instances
| Show TransactionValidityError | |
Defined in Cardano.Api.Fees Methods showsPrec :: Int -> TransactionValidityError -> ShowS # show :: TransactionValidityError -> String # showList :: [TransactionValidityError] -> ShowS # | |
| Error TransactionValidityError | |
Defined in Cardano.Api.Fees Methods | |
data TxBodyErrorAutoBalance #
Constructors
Instances
| Show TxBodyErrorAutoBalance | |
Defined in Cardano.Api.Fees Methods showsPrec :: Int -> TxBodyErrorAutoBalance -> ShowS # show :: TxBodyErrorAutoBalance -> String # showList :: [TxBodyErrorAutoBalance] -> ShowS # | |
| Error TxBodyErrorAutoBalance | |
Defined in Cardano.Api.Fees Methods | |
data GenesisParameters #
Constructors
Instances
data FromSomeType (c :: Type -> Constraint) b where #
Constructors
| FromSomeType :: forall (c :: Type -> Constraint) a b. c a => AsType a -> (a -> b) -> FromSomeType c b |
class HasTypeProxy t where #
Methods
proxyToAsType :: Proxy t -> AsType t #
Instances
Instances
data LocalChainSyncClient block point tip (m :: Type -> Type) #
Constructors
| NoLocalChainSyncClient | |
| LocalChainSyncClientPipelined (ChainSyncClientPipelined block point tip m ()) | |
| LocalChainSyncClient (ChainSyncClient block point tip m ()) |
data LocalNodeClientParams where #
Constructors
| LocalNodeClientParams :: forall block. (SerialiseNodeToClientConstraints block, SupportedNetworkProtocolVersion block, ShowProxy block, ShowProxy (ApplyTxErr block), ShowProxy (GenTx block), ShowProxy (Query block), ShowQuery (Query block), ProtocolClient block) => ProtocolClientInfoArgs block -> (NodeToClientVersion -> LocalNodeClientProtocolsForBlock block) -> LocalNodeClientParams |
data LocalNodeClientProtocols block point tip tx txerr (query :: Type -> Type) (m :: Type -> Type) #
Constructors
| LocalNodeClientProtocols | |
Fields
| |
type LocalNodeClientProtocolsInMode mode = LocalNodeClientProtocols (BlockInMode mode) ChainPoint ChainTip (TxInMode mode) (TxValidationErrorInMode mode) (QueryInMode mode) IO #
data LocalNodeConnectInfo mode #
Constructors
| LocalNodeConnectInfo | |
Fields | |
data LocalStateQueryExpr block point (query :: Type -> Type) r (m :: Type -> Type) a #
Instances
| Monad (LocalStateQueryExpr block point query r m) | |
Defined in Cardano.Api.IPC.Monad Methods (>>=) :: LocalStateQueryExpr block point query r m a -> (a -> LocalStateQueryExpr block point query r m b) -> LocalStateQueryExpr block point query r m b # (>>) :: LocalStateQueryExpr block point query r m a -> LocalStateQueryExpr block point query r m b -> LocalStateQueryExpr block point query r m b # return :: a -> LocalStateQueryExpr block point query r m a # | |
| Functor (LocalStateQueryExpr block point query r m) | |
Defined in Cardano.Api.IPC.Monad Methods fmap :: (a -> b) -> LocalStateQueryExpr block point query r m a -> LocalStateQueryExpr block point query r m b # (<$) :: a -> LocalStateQueryExpr block point query r m b -> LocalStateQueryExpr block point query r m a # | |
| Applicative (LocalStateQueryExpr block point query r m) | |
Defined in Cardano.Api.IPC.Monad Methods pure :: a -> LocalStateQueryExpr block point query r m a # (<*>) :: LocalStateQueryExpr block point query r m (a -> b) -> LocalStateQueryExpr block point query r m a -> LocalStateQueryExpr block point query r m b # liftA2 :: (a -> b -> c) -> LocalStateQueryExpr block point query r m a -> LocalStateQueryExpr block point query r m b -> LocalStateQueryExpr block point query r m c # (*>) :: LocalStateQueryExpr block point query r m a -> LocalStateQueryExpr block point query r m b -> LocalStateQueryExpr block point query r m b # (<*) :: LocalStateQueryExpr block point query r m a -> LocalStateQueryExpr block point query r m b -> LocalStateQueryExpr block point query r m a # | |
| MonadIO m => MonadIO (LocalStateQueryExpr block point query r m) | |
Defined in Cardano.Api.IPC.Monad Methods liftIO :: IO a -> LocalStateQueryExpr block point query r m a # | |
castSigningKey :: CastSigningKeyRole keyroleA keyroleB => SigningKey keyroleA -> SigningKey keyroleB #
castVerificationKey :: CastVerificationKeyRole keyroleA keyroleB => VerificationKey keyroleA -> VerificationKey keyroleB #
class (Eq (VerificationKey keyrole), Show (VerificationKey keyrole), SerialiseAsRawBytes (Hash keyrole), HasTextEnvelope (VerificationKey keyrole), HasTextEnvelope (SigningKey keyrole)) => Key keyrole where #
Associated Types
data VerificationKey keyrole #
Methods
getVerificationKey :: SigningKey keyrole -> VerificationKey keyrole #
deterministicSigningKey :: AsType keyrole -> Seed -> SigningKey keyrole #
deterministicSigningKeySeedSize :: AsType keyrole -> Word #
verificationKeyHash :: VerificationKey keyrole -> Hash keyrole #
Instances
data family VerificationKey keyrole #
Instances
data family SigningKey keyrole #
Instances
Instances
data ByronKeyLegacy #
Instances
data GenesisDelegateExtendedKey #
Instances
data GenesisDelegateKey #
Instances
data GenesisExtendedKey #
Instances
data GenesisKey #
Instances
data GenesisUTxOKey #
Instances
data PaymentExtendedKey #
Instances
data PaymentKey #
Instances
data StakeExtendedKey #
Instances
Instances
toLedgerEvent :: ConvertLedgerEvent blk => WrapLedgerEvent blk -> Maybe LedgerEvent #
data LedgerEvent #
data MIRDistributionDetails #
data PoolReapDetails #
Constructors
| PoolReapDetails | |
Fields | |
Constructors
| Env | |
Fields
| |
data FoldBlocksError #
data GenesisConfigError #
Constructors
| NEError !Text | |
| NEByronConfig !FilePath !ConfigurationError | |
| NEShelleyConfig !FilePath !Text | |
| NEAlonzoConfig !FilePath !Text | |
| NECardanoConfig !Text |
data InitialLedgerStateError #
newtype LedgerState #
Constructors
| LedgerState | |
Fields
| |
Bundled Patterns
| pattern LedgerStateShelley :: LedgerState (ShelleyBlock (ShelleyEra StandardCrypto)) -> LedgerState | |
| pattern LedgerStateMary :: LedgerState (ShelleyBlock (MaryEra StandardCrypto)) -> LedgerState | |
| pattern LedgerStateByron :: LedgerState ByronBlock -> LedgerState | |
| pattern LedgerStateAlonzo :: LedgerState (ShelleyBlock (AlonzoEra StandardCrypto)) -> LedgerState | |
| pattern LedgerStateAllegra :: LedgerState (ShelleyBlock (AllegraEra StandardCrypto)) -> LedgerState |
data LedgerStateError #
Constructors
| ApplyBlockHashMismatch Text | |
| ApplyBlockError (HardForkLedgerError (CardanoEras StandardCrypto)) | |
| InvalidRollback SlotNo ChainPoint |
Instances
| Show LedgerStateError | |
Defined in Cardano.Api.LedgerState Methods showsPrec :: Int -> LedgerStateError -> ShowS # show :: LedgerStateError -> String # showList :: [LedgerStateError] -> ShowS # | |
data ValidationMode #
Constructors
| FullValidation | |
| QuickValidation |
data AnyConsensusMode where #
Constructors
| AnyConsensusMode :: forall mode. ConsensusMode mode -> AnyConsensusMode |
Instances
| Show AnyConsensusMode | |
Defined in Cardano.Api.Modes Methods showsPrec :: Int -> AnyConsensusMode -> ShowS # show :: AnyConsensusMode -> String # showList :: [AnyConsensusMode] -> ShowS # | |
data AnyConsensusModeParams where #
Constructors
| AnyConsensusModeParams :: forall mode. ConsensusModeParams mode -> AnyConsensusModeParams |
Instances
| Show AnyConsensusModeParams | |
Defined in Cardano.Api.Modes Methods showsPrec :: Int -> AnyConsensusModeParams -> ShowS # show :: AnyConsensusModeParams -> String # showList :: [AnyConsensusModeParams] -> ShowS # | |
data CardanoMode #
Instances
type family ConsensusBlockForEra era where ... #
Equations
| ConsensusBlockForEra ByronEra = ByronBlock | |
| ConsensusBlockForEra ShelleyEra = ShelleyBlock StandardShelley | |
| ConsensusBlockForEra AllegraEra = ShelleyBlock StandardAllegra | |
| ConsensusBlockForEra MaryEra = ShelleyBlock StandardMary | |
| ConsensusBlockForEra AlonzoEra = ShelleyBlock StandardAlonzo |
type family ConsensusBlockForMode mode where ... #
Equations
| ConsensusBlockForMode ByronMode = ByronBlockHFC | |
| ConsensusBlockForMode ShelleyMode = ShelleyBlockHFC StandardShelley | |
| ConsensusBlockForMode CardanoMode = CardanoBlock StandardCrypto |
data ConsensusMode mode where #
Constructors
| CardanoMode :: ConsensusMode CardanoMode |
Instances
| Show (ConsensusMode mode) | |
Defined in Cardano.Api.Modes Methods showsPrec :: Int -> ConsensusMode mode -> ShowS # show :: ConsensusMode mode -> String # showList :: [ConsensusMode mode] -> ShowS # | |
data ConsensusModeIsMultiEra mode where #
Constructors
| CardanoModeIsMultiEra :: ConsensusModeIsMultiEra CardanoMode |
Instances
| Show (ConsensusModeIsMultiEra mode) | |
Defined in Cardano.Api.Modes Methods showsPrec :: Int -> ConsensusModeIsMultiEra mode -> ShowS # show :: ConsensusModeIsMultiEra mode -> String # showList :: [ConsensusModeIsMultiEra mode] -> ShowS # | |
data ConsensusModeParams mode where #
Constructors
| ByronModeParams :: EpochSlots -> ConsensusModeParams ByronMode | |
| ShelleyModeParams :: ConsensusModeParams ShelleyMode | |
| CardanoModeParams :: EpochSlots -> ConsensusModeParams CardanoMode |
Instances
| Show (ConsensusModeParams mode) | |
Defined in Cardano.Api.Modes Methods showsPrec :: Int -> ConsensusModeParams mode -> ShowS # show :: ConsensusModeParams mode -> String # showList :: [ConsensusModeParams mode] -> ShowS # | |
data EraInMode era mode where #
Constructors
Instances
Constructors
| Mainnet | |
| Testnet !NetworkMagic |
Instances
data OperationalCertIssueError #
Instances
| Show OperationalCertIssueError | |
Defined in Cardano.Api.OperationalCertificate Methods showsPrec :: Int -> OperationalCertIssueError -> ShowS # show :: OperationalCertIssueError -> String # showList :: [OperationalCertIssueError] -> ShowS # | |
| Error OperationalCertIssueError | |
Defined in Cardano.Api.OperationalCertificate Methods | |
data OperationalCertificate #
Instances
data OperationalCertificateIssueCounter #
Instances
Instances
| Eq CostModel | |
| Show CostModel | |
| ToJSON CostModel | |
Defined in Cardano.Api.ProtocolParameters Methods toJSON :: CostModel -> Value # toEncoding :: CostModel -> Encoding # toJSONList :: [CostModel] -> Value # toEncodingList :: [CostModel] -> Encoding # | |
| FromJSON CostModel | |
Defined in Cardano.Api.ProtocolParameters | |
| ToCBOR CostModel | |
| FromCBOR CostModel | |
data ExecutionUnitPrices #
Constructors
| ExecutionUnitPrices | |
Fields | |
Instances
data PraosNonce #
Instances
data ProtocolParametersUpdate #
Constructors
Instances
data UpdateProposal #
Constructors
| UpdateProposal !(Map (Hash GenesisKey) ProtocolParametersUpdate) !EpochNo |
Instances
data EraHistory mode where #
Constructors
| EraHistory :: forall mode (xs :: [Type]). ConsensusBlockForMode mode ~ HardForkBlock xs => ConsensusMode mode -> Interpreter xs -> EraHistory mode |
data QueryInEra era result where #
Constructors
| QueryByronUpdateState :: QueryInEra ByronEra ByronUpdateState | |
| QueryInShelleyBasedEra :: forall era result. ShelleyBasedEra era -> QueryInShelleyBasedEra era result -> QueryInEra era result |
Instances
| Show (QueryInEra era result) | |
Defined in Cardano.Api.Query Methods showsPrec :: Int -> QueryInEra era result -> ShowS # show :: QueryInEra era result -> String # showList :: [QueryInEra era result] -> ShowS # | |
data QueryInMode mode result where #
Constructors
| QueryCurrentEra :: forall mode. ConsensusModeIsMultiEra mode -> QueryInMode mode AnyCardanoEra | |
| QueryInEra :: forall era mode result1. EraInMode era mode -> QueryInEra era result1 -> QueryInMode mode (Either EraMismatch result1) | |
| QueryEraHistory :: forall mode. ConsensusModeIsMultiEra mode -> QueryInMode mode (EraHistory mode) | |
| QuerySystemStart :: forall mode. QueryInMode mode SystemStart | |
| QueryChainBlockNo :: forall mode. QueryInMode mode (WithOrigin BlockNo) | |
| QueryChainPoint :: forall mode. ConsensusMode mode -> QueryInMode mode ChainPoint |
Instances
| Show (QueryInMode mode result) | |
Defined in Cardano.Api.Query Methods showsPrec :: Int -> QueryInMode mode result -> ShowS # show :: QueryInMode mode result -> String # showList :: [QueryInMode mode result] -> ShowS # | |
data QueryInShelleyBasedEra era result where #
Constructors
Instances
| Show (QueryInShelleyBasedEra era result) | |
Defined in Cardano.Api.Query Methods showsPrec :: Int -> QueryInShelleyBasedEra era result -> ShowS # show :: QueryInShelleyBasedEra era result -> String # showList :: [QueryInShelleyBasedEra era result] -> ShowS # | |
data QueryUTxOFilter #
Constructors
| QueryUTxOWhole | |
| QueryUTxOByAddress (Set AddressAny) | |
| QueryUTxOByTxIn (Set TxIn) |
Instances
| Eq QueryUTxOFilter | |
Defined in Cardano.Api.Query Methods (==) :: QueryUTxOFilter -> QueryUTxOFilter -> Bool # (/=) :: QueryUTxOFilter -> QueryUTxOFilter -> Bool # | |
| Show QueryUTxOFilter | |
Defined in Cardano.Api.Query Methods showsPrec :: Int -> QueryUTxOFilter -> ShowS # show :: QueryUTxOFilter -> String # showList :: [QueryUTxOFilter] -> ShowS # | |
newtype SlotsInEpoch #
Constructors
| SlotsInEpoch Word64 |
newtype SlotsToEpochEnd #
Constructors
| SlotsToEpochEnd Word64 |
data AnyPlutusScriptVersion where #
Constructors
| AnyPlutusScriptVersion :: forall lang. PlutusScriptVersion lang -> AnyPlutusScriptVersion |
Instances
data AnyScriptLanguage where #
Constructors
| AnyScriptLanguage :: forall lang. ScriptLanguage lang -> AnyScriptLanguage |
Instances
data ExecutionUnits #
Constructors
| ExecutionUnits | |
Fields | |
Instances
class HasTypeProxy lang => IsScriptLanguage lang where #
Methods
scriptLanguage :: ScriptLanguage lang #
Instances
| IsScriptLanguage PlutusScriptV1 | |
Defined in Cardano.Api.Script Methods | |
| IsScriptLanguage PlutusScriptV2 | |
Defined in Cardano.Api.Script Methods | |
| IsScriptLanguage SimpleScriptV1 | |
Defined in Cardano.Api.Script Methods | |
| IsScriptLanguage SimpleScriptV2 | |
Defined in Cardano.Api.Script Methods | |
class IsScriptLanguage lang => IsSimpleScriptLanguage lang where #
Methods
simpleScriptVersion :: SimpleScriptVersion lang #
Instances
| IsSimpleScriptLanguage SimpleScriptV1 | |
Defined in Cardano.Api.Script | |
| IsSimpleScriptLanguage SimpleScriptV2 | |
Defined in Cardano.Api.Script | |
data KeyWitnessInCtx witctx where #
Constructors
| KeyWitnessForSpending :: KeyWitnessInCtx WitCtxTxIn | |
| KeyWitnessForStakeAddr :: KeyWitnessInCtx WitCtxStake |
Instances
| Eq (KeyWitnessInCtx witctx) | |
Defined in Cardano.Api.Script Methods (==) :: KeyWitnessInCtx witctx -> KeyWitnessInCtx witctx -> Bool # (/=) :: KeyWitnessInCtx witctx -> KeyWitnessInCtx witctx -> Bool # | |
| Show (KeyWitnessInCtx witctx) | |
Defined in Cardano.Api.Script Methods showsPrec :: Int -> KeyWitnessInCtx witctx -> ShowS # show :: KeyWitnessInCtx witctx -> String # showList :: [KeyWitnessInCtx witctx] -> ShowS # | |
data PlutusScriptV1 #
Instances
| HasTypeProxy PlutusScriptV1 | |
Defined in Cardano.Api.Script Associated Types data AsType PlutusScriptV1 # Methods proxyToAsType :: Proxy PlutusScriptV1 -> AsType PlutusScriptV1 # | |
| IsScriptLanguage PlutusScriptV1 | |
Defined in Cardano.Api.Script Methods | |
| IsPlutusScriptLanguage PlutusScriptV1 | |
Defined in Cardano.Api.Script | |
| HasPlutusScriptVersion PlutusScriptV1 # | |
Defined in Hydra.Cardano.Api.PlutusScriptVersion | |
| HasScriptLanguage PlutusScriptV1 AlonzoEra # | |
Defined in Hydra.Cardano.Api.ScriptLanguageInEra | |
| data AsType PlutusScriptV1 | |
Defined in Cardano.Api.Script | |
data PlutusScriptV2 #
Instances
| HasTypeProxy PlutusScriptV2 | |
Defined in Cardano.Api.Script Associated Types data AsType PlutusScriptV2 # Methods proxyToAsType :: Proxy PlutusScriptV2 -> AsType PlutusScriptV2 # | |
| IsScriptLanguage PlutusScriptV2 | |
Defined in Cardano.Api.Script Methods | |
| IsPlutusScriptLanguage PlutusScriptV2 | |
Defined in Cardano.Api.Script | |
| HasPlutusScriptVersion PlutusScriptV2 # | |
Defined in Hydra.Cardano.Api.PlutusScriptVersion | |
| HasScriptLanguage PlutusScriptV2 AlonzoEra # | |
Defined in Hydra.Cardano.Api.ScriptLanguageInEra | |
| data AsType PlutusScriptV2 | |
Defined in Cardano.Api.Script | |
data PlutusScriptVersion lang where #
Constructors
| PlutusScriptV1 :: PlutusScriptVersion PlutusScriptV1 | |
| PlutusScriptV2 :: PlutusScriptVersion PlutusScriptV2 |
Instances
| Eq (PlutusScriptVersion lang) | |
Defined in Cardano.Api.Script Methods (==) :: PlutusScriptVersion lang -> PlutusScriptVersion lang -> Bool # (/=) :: PlutusScriptVersion lang -> PlutusScriptVersion lang -> Bool # | |
| Show (PlutusScriptVersion lang) | |
Defined in Cardano.Api.Script Methods showsPrec :: Int -> PlutusScriptVersion lang -> ShowS # show :: PlutusScriptVersion lang -> String # showList :: [PlutusScriptVersion lang] -> ShowS # | |
| TestEquality PlutusScriptVersion | |
Defined in Cardano.Api.Script Methods testEquality :: forall (a :: k) (b :: k). PlutusScriptVersion a -> PlutusScriptVersion b -> Maybe (a :~: b) # | |
data ScriptDatum witctx where #
Constructors
| ScriptDatumForTxIn :: ScriptData -> ScriptDatum WitCtxTxIn | |
| NoScriptDatumForMint :: ScriptDatum WitCtxMint | |
| NoScriptDatumForStake :: ScriptDatum WitCtxStake |
Instances
| Eq (ScriptDatum witctx) | |
Defined in Cardano.Api.Script Methods (==) :: ScriptDatum witctx -> ScriptDatum witctx -> Bool # (/=) :: ScriptDatum witctx -> ScriptDatum witctx -> Bool # | |
| Show (ScriptDatum witctx) | |
Defined in Cardano.Api.Script Methods showsPrec :: Int -> ScriptDatum witctx -> ShowS # show :: ScriptDatum witctx -> String # showList :: [ScriptDatum witctx] -> ShowS # | |
data ScriptHash #
Instances
data ScriptInAnyLang where #
Constructors
| ScriptInAnyLang :: forall lang. ScriptLanguage lang -> Script lang -> ScriptInAnyLang |
Instances
| Eq ScriptInAnyLang | |
Defined in Cardano.Api.Script Methods (==) :: ScriptInAnyLang -> ScriptInAnyLang -> Bool # (/=) :: ScriptInAnyLang -> ScriptInAnyLang -> Bool # | |
| Show ScriptInAnyLang | |
Defined in Cardano.Api.Script Methods showsPrec :: Int -> ScriptInAnyLang -> ShowS # show :: ScriptInAnyLang -> String # showList :: [ScriptInAnyLang] -> ShowS # | |
| HasTypeProxy ScriptInAnyLang | |
Defined in Cardano.Api.Script Associated Types data AsType ScriptInAnyLang # Methods proxyToAsType :: Proxy ScriptInAnyLang -> AsType ScriptInAnyLang # | |
| data AsType ScriptInAnyLang | |
Defined in Cardano.Api.Script | |
data ScriptLanguageInEra lang era where #
Constructors
Instances
| Eq (ScriptLanguageInEra lang era) | |
Defined in Cardano.Api.Script Methods (==) :: ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era -> Bool # (/=) :: ScriptLanguageInEra lang era -> ScriptLanguageInEra lang era -> Bool # | |
| Show (ScriptLanguageInEra lang era) | |
Defined in Cardano.Api.Script Methods showsPrec :: Int -> ScriptLanguageInEra lang era -> ShowS # show :: ScriptLanguageInEra lang era -> String # showList :: [ScriptLanguageInEra lang era] -> ShowS # | |
type ScriptRedeemer = ScriptData #
data ScriptWitnessInCtx witctx where #
Constructors
| ScriptWitnessForSpending :: ScriptWitnessInCtx WitCtxTxIn | |
| ScriptWitnessForMinting :: ScriptWitnessInCtx WitCtxMint | |
| ScriptWitnessForStakeAddr :: ScriptWitnessInCtx WitCtxStake |
Instances
| Eq (ScriptWitnessInCtx witctx) | |
Defined in Cardano.Api.Script Methods (==) :: ScriptWitnessInCtx witctx -> ScriptWitnessInCtx witctx -> Bool # (/=) :: ScriptWitnessInCtx witctx -> ScriptWitnessInCtx witctx -> Bool # | |
| Show (ScriptWitnessInCtx witctx) | |
Defined in Cardano.Api.Script Methods showsPrec :: Int -> ScriptWitnessInCtx witctx -> ShowS # show :: ScriptWitnessInCtx witctx -> String # showList :: [ScriptWitnessInCtx witctx] -> ShowS # | |
data SimpleScript lang where #
Constructors
| RequireSignature :: forall lang. !(Hash PaymentKey) -> SimpleScript lang | |
| RequireTimeBefore :: forall lang. !(TimeLocksSupported lang) -> !SlotNo -> SimpleScript lang | |
| RequireTimeAfter :: forall lang. !(TimeLocksSupported lang) -> !SlotNo -> SimpleScript lang | |
| RequireAllOf :: forall lang. [SimpleScript lang] -> SimpleScript lang | |
| RequireAnyOf :: forall lang. [SimpleScript lang] -> SimpleScript lang | |
| RequireMOf :: forall lang. Int -> [SimpleScript lang] -> SimpleScript lang |
Instances
data SimpleScriptV1 #
Instances
| HasTypeProxy SimpleScriptV1 | |
Defined in Cardano.Api.Script Associated Types data AsType SimpleScriptV1 # Methods proxyToAsType :: Proxy SimpleScriptV1 -> AsType SimpleScriptV1 # | |
| IsScriptLanguage SimpleScriptV1 | |
Defined in Cardano.Api.Script Methods | |
| IsSimpleScriptLanguage SimpleScriptV1 | |
Defined in Cardano.Api.Script | |
| data AsType SimpleScriptV1 | |
Defined in Cardano.Api.Script | |
data SimpleScriptV2 #
Instances
| HasTypeProxy SimpleScriptV2 | |
Defined in Cardano.Api.Script Associated Types data AsType SimpleScriptV2 # Methods proxyToAsType :: Proxy SimpleScriptV2 -> AsType SimpleScriptV2 # | |
| IsScriptLanguage SimpleScriptV2 | |
Defined in Cardano.Api.Script Methods | |
| IsSimpleScriptLanguage SimpleScriptV2 | |
Defined in Cardano.Api.Script | |
| data AsType SimpleScriptV2 | |
Defined in Cardano.Api.Script | |
data SimpleScriptVersion lang where #
Constructors
| SimpleScriptV1 :: SimpleScriptVersion SimpleScriptV1 | |
| SimpleScriptV2 :: SimpleScriptVersion SimpleScriptV2 |
Instances
| Eq (SimpleScriptVersion lang) | |
Defined in Cardano.Api.Script Methods (==) :: SimpleScriptVersion lang -> SimpleScriptVersion lang -> Bool # (/=) :: SimpleScriptVersion lang -> SimpleScriptVersion lang -> Bool # | |
| Show (SimpleScriptVersion lang) | |
Defined in Cardano.Api.Script Methods showsPrec :: Int -> SimpleScriptVersion lang -> ShowS # show :: SimpleScriptVersion lang -> String # showList :: [SimpleScriptVersion lang] -> ShowS # | |
| TestEquality SimpleScriptVersion | |
Defined in Cardano.Api.Script Methods testEquality :: forall (a :: k) (b :: k). SimpleScriptVersion a -> SimpleScriptVersion b -> Maybe (a :~: b) # | |
data TimeLocksSupported lang where #
Constructors
| TimeLocksInSimpleScriptV2 :: TimeLocksSupported SimpleScriptV2 |
Instances
| Eq (TimeLocksSupported lang) | |
Defined in Cardano.Api.Script Methods (==) :: TimeLocksSupported lang -> TimeLocksSupported lang -> Bool # (/=) :: TimeLocksSupported lang -> TimeLocksSupported lang -> Bool # | |
| Show (TimeLocksSupported lang) | |
Defined in Cardano.Api.Script Methods showsPrec :: Int -> TimeLocksSupported lang -> ShowS # show :: TimeLocksSupported lang -> String # showList :: [TimeLocksSupported lang] -> ShowS # | |
Constructors
| WitCtxTxIn :: WitCtx WitCtxTxIn | |
| WitCtxMint :: WitCtx WitCtxMint | |
| WitCtxStake :: WitCtx WitCtxStake |
data WitCtxMint #
Instances
| IsScriptWitnessInCtx WitCtxMint # | |
Defined in Hydra.Cardano.Api.ScriptWitnessInCtx Methods | |
data WitCtxStake #
Instances
data WitCtxTxIn #
Instances
| IsScriptWitnessInCtx WitCtxTxIn # | |
Defined in Hydra.Cardano.Api.ScriptWitnessInCtx Methods | |
data ScriptData #
Constructors
| ScriptDataConstructor Integer [ScriptData] | |
| ScriptDataMap [(ScriptData, ScriptData)] | |
| ScriptDataList [ScriptData] | |
| ScriptDataNumber Integer | |
| ScriptDataBytes ByteString |
Instances
data ScriptDataJsonError #
Constructors
| ScriptDataJsonSchemaError !Value !ScriptDataJsonSchemaError | |
| ScriptDataRangeError !Value !ScriptDataRangeError |
Instances
| Eq ScriptDataJsonError | |
Defined in Cardano.Api.ScriptData Methods (==) :: ScriptDataJsonError -> ScriptDataJsonError -> Bool # (/=) :: ScriptDataJsonError -> ScriptDataJsonError -> Bool # | |
| Show ScriptDataJsonError | |
Defined in Cardano.Api.ScriptData Methods showsPrec :: Int -> ScriptDataJsonError -> ShowS # show :: ScriptDataJsonError -> String # showList :: [ScriptDataJsonError] -> ShowS # | |
| Error ScriptDataJsonError | |
Defined in Cardano.Api.ScriptData Methods | |
data ScriptDataJsonSchema #
Constructors
| ScriptDataJsonNoSchema | |
| ScriptDataJsonDetailedSchema |
Instances
| Eq ScriptDataJsonSchema | |
Defined in Cardano.Api.ScriptData Methods (==) :: ScriptDataJsonSchema -> ScriptDataJsonSchema -> Bool # (/=) :: ScriptDataJsonSchema -> ScriptDataJsonSchema -> Bool # | |
| Show ScriptDataJsonSchema | |
Defined in Cardano.Api.ScriptData Methods showsPrec :: Int -> ScriptDataJsonSchema -> ShowS # show :: ScriptDataJsonSchema -> String # showList :: [ScriptDataJsonSchema] -> ShowS # | |
data ScriptDataJsonSchemaError #
Constructors
Instances
| Eq ScriptDataJsonSchemaError | |
Defined in Cardano.Api.ScriptData Methods (==) :: ScriptDataJsonSchemaError -> ScriptDataJsonSchemaError -> Bool # (/=) :: ScriptDataJsonSchemaError -> ScriptDataJsonSchemaError -> Bool # | |
| Show ScriptDataJsonSchemaError | |
Defined in Cardano.Api.ScriptData Methods showsPrec :: Int -> ScriptDataJsonSchemaError -> ShowS # show :: ScriptDataJsonSchemaError -> String # showList :: [ScriptDataJsonSchemaError] -> ShowS # | |
| Error ScriptDataJsonSchemaError | |
Defined in Cardano.Api.ScriptData Methods | |
data ScriptDataRangeError #
Constructors
| ScriptDataNumberOutOfRange !Integer | |
| ScriptDataConstructorOutOfRange !Integer | |
| ScriptDataBytesTooLong !Int |
Instances
| Eq ScriptDataRangeError | |
Defined in Cardano.Api.ScriptData Methods (==) :: ScriptDataRangeError -> ScriptDataRangeError -> Bool # (/=) :: ScriptDataRangeError -> ScriptDataRangeError -> Bool # | |
| Show ScriptDataRangeError | |
Defined in Cardano.Api.ScriptData Methods showsPrec :: Int -> ScriptDataRangeError -> ShowS # show :: ScriptDataRangeError -> String # showList :: [ScriptDataRangeError] -> ShowS # | |
| Error ScriptDataRangeError | |
Defined in Cardano.Api.ScriptData Methods | |
data Bech32DecodeError #
Constructors
| Bech32DecodingError !DecodingError | |
| Bech32UnexpectedPrefix !Text !(Set Text) | |
| Bech32DataPartToBytesError !Text | |
| Bech32DeserialiseFromBytesError !ByteString | |
| Bech32WrongPrefix !Text !Text |
Instances
| Eq Bech32DecodeError | |
Defined in Cardano.Api.SerialiseBech32 Methods (==) :: Bech32DecodeError -> Bech32DecodeError -> Bool # (/=) :: Bech32DecodeError -> Bech32DecodeError -> Bool # | |
| Show Bech32DecodeError | |
Defined in Cardano.Api.SerialiseBech32 Methods showsPrec :: Int -> Bech32DecodeError -> ShowS # show :: Bech32DecodeError -> String # showList :: [Bech32DecodeError] -> ShowS # | |
| Error Bech32DecodeError | |
Defined in Cardano.Api.SerialiseBech32 Methods displayError :: Bech32DecodeError -> String # | |
class (HasTypeProxy a, SerialiseAsRawBytes a) => SerialiseAsBech32 a #
Minimal complete definition
bech32PrefixFor, bech32PrefixesPermitted
Instances
class HasTypeProxy a => SerialiseAsCBOR a where #
Minimal complete definition
Nothing
Methods
serialiseToCBOR :: a -> ByteString #
deserialiseFromCBOR :: AsType a -> ByteString -> Either DecoderError a #
Instances
newtype JsonDecodeError #
Constructors
| JsonDecodeError String |
Instances
| Eq JsonDecodeError | |
Defined in Cardano.Api.SerialiseJSON Methods (==) :: JsonDecodeError -> JsonDecodeError -> Bool # (/=) :: JsonDecodeError -> JsonDecodeError -> Bool # | |
| Show JsonDecodeError | |
Defined in Cardano.Api.SerialiseJSON Methods showsPrec :: Int -> JsonDecodeError -> ShowS # show :: JsonDecodeError -> String # showList :: [JsonDecodeError] -> ShowS # | |
| Error JsonDecodeError | |
Defined in Cardano.Api.SerialiseJSON Methods displayError :: JsonDecodeError -> String # | |
data FromSomeTypeCDDL c b where #
Constructors
| FromCDDLTx :: forall b. Text -> (InAnyCardanoEra Tx -> b) -> FromSomeTypeCDDL TextEnvelopeCddl b | |
| FromCDDLWitness :: forall b. Text -> (InAnyCardanoEra KeyWitness -> b) -> FromSomeTypeCDDL TextEnvelopeCddl b |
data TextEnvelopeCddlError #
Constructors
Instances
| Eq TextEnvelopeCddlError | |
Defined in Cardano.Api.SerialiseLedgerCddl Methods (==) :: TextEnvelopeCddlError -> TextEnvelopeCddlError -> Bool # (/=) :: TextEnvelopeCddlError -> TextEnvelopeCddlError -> Bool # | |
| Show TextEnvelopeCddlError | |
Defined in Cardano.Api.SerialiseLedgerCddl Methods showsPrec :: Int -> TextEnvelopeCddlError -> ShowS # show :: TextEnvelopeCddlError -> String # showList :: [TextEnvelopeCddlError] -> ShowS # | |
| Error TextEnvelopeCddlError | |
Defined in Cardano.Api.SerialiseLedgerCddl Methods | |
class HasTypeProxy a => SerialiseAsRawBytes a where #
Methods
serialiseToRawBytes :: a -> ByteString #
deserialiseFromRawBytes :: AsType a -> ByteString -> Maybe a #
Instances
class SerialiseAsCBOR a => HasTextEnvelope a where #
Minimal complete definition
Methods
textEnvelopeType :: AsType a -> TextEnvelopeType #
Instances
data TextEnvelope #
Constructors
| TextEnvelope | |
Fields | |
Instances
| Eq TextEnvelope | |
Defined in Cardano.Api.SerialiseTextEnvelope | |
| Show TextEnvelope | |
Defined in Cardano.Api.SerialiseTextEnvelope Methods showsPrec :: Int -> TextEnvelope -> ShowS # show :: TextEnvelope -> String # showList :: [TextEnvelope] -> ShowS # | |
| ToJSON TextEnvelope | |
Defined in Cardano.Api.SerialiseTextEnvelope Methods toJSON :: TextEnvelope -> Value # toEncoding :: TextEnvelope -> Encoding # toJSONList :: [TextEnvelope] -> Value # toEncodingList :: [TextEnvelope] -> Encoding # | |
| FromJSON TextEnvelope | |
Defined in Cardano.Api.SerialiseTextEnvelope | |
| HasTypeProxy TextEnvelope | |
Defined in Cardano.Api.SerialiseTextEnvelope Associated Types data AsType TextEnvelope # Methods proxyToAsType :: Proxy TextEnvelope -> AsType TextEnvelope # | |
| data AsType TextEnvelope | |
Defined in Cardano.Api.SerialiseTextEnvelope | |
data TextEnvelopeDescr #
Instances
data TextEnvelopeError #
Constructors
| TextEnvelopeTypeError ![TextEnvelopeType] !TextEnvelopeType | |
| TextEnvelopeDecodeError !DecoderError | |
| TextEnvelopeAesonDecodeError !String |
Instances
| Eq TextEnvelopeError | |
Defined in Cardano.Api.SerialiseTextEnvelope Methods (==) :: TextEnvelopeError -> TextEnvelopeError -> Bool # (/=) :: TextEnvelopeError -> TextEnvelopeError -> Bool # | |
| Show TextEnvelopeError | |
Defined in Cardano.Api.SerialiseTextEnvelope Methods showsPrec :: Int -> TextEnvelopeError -> ShowS # show :: TextEnvelopeError -> String # showList :: [TextEnvelopeError] -> ShowS # | |
| Error TextEnvelopeError | |
Defined in Cardano.Api.SerialiseTextEnvelope Methods displayError :: TextEnvelopeError -> String # | |
newtype TextEnvelopeType #
Constructors
| TextEnvelopeType String |
Instances
data StakePoolMetadata #
Instances
data StakePoolMetadataValidationError #
Instances
| Show StakePoolMetadataValidationError | |
Defined in Cardano.Api.StakePoolMetadata Methods showsPrec :: Int -> StakePoolMetadataValidationError -> ShowS # | |
| Error StakePoolMetadataValidationError | |
Defined in Cardano.Api.StakePoolMetadata Methods displayError :: StakePoolMetadataValidationError -> String # | |
data ShelleyWitnessSigningKey #
Constructors
data AnyScriptWitness era where #
Constructors
| AnyScriptWitness :: forall witctx era. ScriptWitness witctx era -> AnyScriptWitness era |
data AuxScriptsSupportedInEra era where #
Constructors
| AuxScriptsInAllegraEra :: AuxScriptsSupportedInEra AllegraEra | |
| AuxScriptsInMaryEra :: AuxScriptsSupportedInEra MaryEra | |
| AuxScriptsInAlonzoEra :: AuxScriptsSupportedInEra AlonzoEra |
Instances
| Eq (AuxScriptsSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: AuxScriptsSupportedInEra era -> AuxScriptsSupportedInEra era -> Bool # (/=) :: AuxScriptsSupportedInEra era -> AuxScriptsSupportedInEra era -> Bool # | |
| Show (AuxScriptsSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> AuxScriptsSupportedInEra era -> ShowS # show :: AuxScriptsSupportedInEra era -> String # showList :: [AuxScriptsSupportedInEra era] -> ShowS # | |
data BuildTxWith build a where #
Constructors
| ViewTx :: forall a. BuildTxWith ViewTx a | |
| BuildTxWith :: forall a. a -> BuildTxWith BuildTx a |
Instances
| Eq a => Eq (BuildTxWith build a) | |
Defined in Cardano.Api.TxBody Methods (==) :: BuildTxWith build a -> BuildTxWith build a -> Bool # (/=) :: BuildTxWith build a -> BuildTxWith build a -> Bool # | |
| Show a => Show (BuildTxWith build a) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> BuildTxWith build a -> ShowS # show :: BuildTxWith build a -> String # showList :: [BuildTxWith build a] -> ShowS # | |
data CertificatesSupportedInEra era where #
Constructors
Instances
| Eq (CertificatesSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: CertificatesSupportedInEra era -> CertificatesSupportedInEra era -> Bool # (/=) :: CertificatesSupportedInEra era -> CertificatesSupportedInEra era -> Bool # | |
| Show (CertificatesSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> CertificatesSupportedInEra era -> ShowS # show :: CertificatesSupportedInEra era -> String # showList :: [CertificatesSupportedInEra era] -> ShowS # | |
data CollateralSupportedInEra era where #
Constructors
| CollateralInAlonzoEra :: CollateralSupportedInEra AlonzoEra |
Instances
| Eq (CollateralSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: CollateralSupportedInEra era -> CollateralSupportedInEra era -> Bool # (/=) :: CollateralSupportedInEra era -> CollateralSupportedInEra era -> Bool # | |
| Show (CollateralSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> CollateralSupportedInEra era -> ShowS # show :: CollateralSupportedInEra era -> String # showList :: [CollateralSupportedInEra era] -> ShowS # | |
Instances
| (IsShelleyBasedEra era, IsCardanoEra era) => FromJSON (TxOut CtxTx era) | |
Defined in Cardano.Api.TxBody | |
Instances
| (IsShelleyBasedEra era, IsCardanoEra era) => FromJSON (TxOut CtxUTxO era) | |
Defined in Cardano.Api.TxBody | |
data MultiAssetSupportedInEra era where #
Constructors
| MultiAssetInMaryEra :: MultiAssetSupportedInEra MaryEra | |
| MultiAssetInAlonzoEra :: MultiAssetSupportedInEra AlonzoEra |
Instances
| Eq (MultiAssetSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: MultiAssetSupportedInEra era -> MultiAssetSupportedInEra era -> Bool # (/=) :: MultiAssetSupportedInEra era -> MultiAssetSupportedInEra era -> Bool # | |
| Show (MultiAssetSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> MultiAssetSupportedInEra era -> ShowS # show :: MultiAssetSupportedInEra era -> String # showList :: [MultiAssetSupportedInEra era] -> ShowS # | |
| ToJSON (MultiAssetSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods toJSON :: MultiAssetSupportedInEra era -> Value # toEncoding :: MultiAssetSupportedInEra era -> Encoding # toJSONList :: [MultiAssetSupportedInEra era] -> Value # toEncodingList :: [MultiAssetSupportedInEra era] -> Encoding # | |
data OnlyAdaSupportedInEra era where #
Constructors
| AdaOnlyInByronEra :: OnlyAdaSupportedInEra ByronEra | |
| AdaOnlyInShelleyEra :: OnlyAdaSupportedInEra ShelleyEra | |
| AdaOnlyInAllegraEra :: OnlyAdaSupportedInEra AllegraEra |
Instances
| Eq (OnlyAdaSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: OnlyAdaSupportedInEra era -> OnlyAdaSupportedInEra era -> Bool # (/=) :: OnlyAdaSupportedInEra era -> OnlyAdaSupportedInEra era -> Bool # | |
| Show (OnlyAdaSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> OnlyAdaSupportedInEra era -> ShowS # show :: OnlyAdaSupportedInEra era -> String # showList :: [OnlyAdaSupportedInEra era] -> ShowS # | |
data ScriptDataSupportedInEra era where #
Constructors
| ScriptDataInAlonzoEra :: ScriptDataSupportedInEra AlonzoEra |
Instances
| Eq (ScriptDataSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: ScriptDataSupportedInEra era -> ScriptDataSupportedInEra era -> Bool # (/=) :: ScriptDataSupportedInEra era -> ScriptDataSupportedInEra era -> Bool # | |
| Show (ScriptDataSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> ScriptDataSupportedInEra era -> ShowS # show :: ScriptDataSupportedInEra era -> String # showList :: [ScriptDataSupportedInEra era] -> ShowS # | |
data ScriptValidity #
Constructors
| ScriptInvalid | |
| ScriptValid |
Instances
| Eq ScriptValidity | |
Defined in Cardano.Api.TxBody Methods (==) :: ScriptValidity -> ScriptValidity -> Bool # (/=) :: ScriptValidity -> ScriptValidity -> Bool # | |
| Show ScriptValidity | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> ScriptValidity -> ShowS # show :: ScriptValidity -> String # showList :: [ScriptValidity] -> ShowS # | |
| ToCBOR ScriptValidity | |
Defined in Cardano.Api.TxBody Methods toCBOR :: ScriptValidity -> Encoding # encodedSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy ScriptValidity -> Size # encodedListSizeExpr :: (forall t. ToCBOR t => Proxy t -> Size) -> Proxy [ScriptValidity] -> Size # | |
| FromCBOR ScriptValidity | |
Defined in Cardano.Api.TxBody | |
data ScriptWitnessIndex #
Constructors
| ScriptWitnessIndexTxIn !Word | |
| ScriptWitnessIndexMint !Word | |
| ScriptWitnessIndexCertificate !Word | |
| ScriptWitnessIndexWithdrawal !Word |
Instances
| Eq ScriptWitnessIndex | |
Defined in Cardano.Api.TxBody Methods (==) :: ScriptWitnessIndex -> ScriptWitnessIndex -> Bool # (/=) :: ScriptWitnessIndex -> ScriptWitnessIndex -> Bool # | |
| Ord ScriptWitnessIndex | |
Defined in Cardano.Api.TxBody Methods compare :: ScriptWitnessIndex -> ScriptWitnessIndex -> Ordering # (<) :: ScriptWitnessIndex -> ScriptWitnessIndex -> Bool # (<=) :: ScriptWitnessIndex -> ScriptWitnessIndex -> Bool # (>) :: ScriptWitnessIndex -> ScriptWitnessIndex -> Bool # (>=) :: ScriptWitnessIndex -> ScriptWitnessIndex -> Bool # max :: ScriptWitnessIndex -> ScriptWitnessIndex -> ScriptWitnessIndex # min :: ScriptWitnessIndex -> ScriptWitnessIndex -> ScriptWitnessIndex # | |
| Show ScriptWitnessIndex | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> ScriptWitnessIndex -> ShowS # show :: ScriptWitnessIndex -> String # showList :: [ScriptWitnessIndex] -> ShowS # | |
data TxBodyError #
Constructors
Instances
| Eq TxBodyError | |
Defined in Cardano.Api.TxBody | |
| Show TxBodyError | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> TxBodyError -> ShowS # show :: TxBodyError -> String # showList :: [TxBodyError] -> ShowS # | |
| Error TxBodyError | |
Defined in Cardano.Api.TxBody Methods displayError :: TxBodyError -> String # | |
data TxCertificates build era where #
Constructors
| TxCertificatesNone :: forall build era. TxCertificates build era | |
| TxCertificates :: forall era build. CertificatesSupportedInEra era -> [Certificate] -> BuildTxWith build (Map StakeCredential (Witness WitCtxStake era)) -> TxCertificates build era |
Instances
| Eq (TxCertificates build era) | |
Defined in Cardano.Api.TxBody Methods (==) :: TxCertificates build era -> TxCertificates build era -> Bool # (/=) :: TxCertificates build era -> TxCertificates build era -> Bool # | |
| Show (TxCertificates build era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> TxCertificates build era -> ShowS # show :: TxCertificates build era -> String # showList :: [TxCertificates build era] -> ShowS # | |
data TxExtraKeyWitnessesSupportedInEra era where #
Instances
| Eq (TxExtraKeyWitnessesSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: TxExtraKeyWitnessesSupportedInEra era -> TxExtraKeyWitnessesSupportedInEra era -> Bool # (/=) :: TxExtraKeyWitnessesSupportedInEra era -> TxExtraKeyWitnessesSupportedInEra era -> Bool # | |
| Show (TxExtraKeyWitnessesSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> TxExtraKeyWitnessesSupportedInEra era -> ShowS # show :: TxExtraKeyWitnessesSupportedInEra era -> String # showList :: [TxExtraKeyWitnessesSupportedInEra era] -> ShowS # | |
data TxFeesExplicitInEra era where #
Constructors
Instances
| Eq (TxFeesExplicitInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: TxFeesExplicitInEra era -> TxFeesExplicitInEra era -> Bool # (/=) :: TxFeesExplicitInEra era -> TxFeesExplicitInEra era -> Bool # | |
| Show (TxFeesExplicitInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> TxFeesExplicitInEra era -> ShowS # show :: TxFeesExplicitInEra era -> String # showList :: [TxFeesExplicitInEra era] -> ShowS # | |
data TxFeesImplicitInEra era where #
Constructors
| TxFeesImplicitInByronEra :: TxFeesImplicitInEra ByronEra |
Instances
| Eq (TxFeesImplicitInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: TxFeesImplicitInEra era -> TxFeesImplicitInEra era -> Bool # (/=) :: TxFeesImplicitInEra era -> TxFeesImplicitInEra era -> Bool # | |
| Show (TxFeesImplicitInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> TxFeesImplicitInEra era -> ShowS # show :: TxFeesImplicitInEra era -> String # showList :: [TxFeesImplicitInEra era] -> ShowS # | |
Constructors
| TxId (Hash StandardCrypto EraIndependentTxBody) |
Instances
| Eq TxId | |
| Ord TxId | |
| Show TxId | |
| IsString TxId | |
Defined in Cardano.Api.TxBody Methods fromString :: String -> TxId # | |
| ToJSON TxId | |
Defined in Cardano.Api.TxBody Methods toEncoding :: TxId -> Encoding # toJSONList :: [TxId] -> Value # toEncodingList :: [TxId] -> Encoding # | |
| FromJSON TxId | |
Defined in Cardano.Api.TxBody | |
| HasTypeProxy TxId | |
Defined in Cardano.Api.TxBody | |
| SerialiseAsRawBytes TxId | |
Defined in Cardano.Api.TxBody Methods serialiseToRawBytes :: TxId -> ByteString # deserialiseFromRawBytes :: AsType TxId -> ByteString -> Maybe TxId # | |
| FromJSONKey TxId | |
Defined in Cardano.Api.TxBody | |
| ToJSONKey TxId | |
Defined in Cardano.Api.TxBody | |
| data AsType TxId | |
Defined in Cardano.Api.TxBody | |
Instances
| Eq TxIn | |
| Ord TxIn | |
| Show TxIn | |
| ToJSON TxIn | |
Defined in Cardano.Api.TxBody Methods toEncoding :: TxIn -> Encoding # toJSONList :: [TxIn] -> Value # toEncodingList :: [TxIn] -> Encoding # | |
| FromJSON TxIn | |
Defined in Cardano.Api.TxBody | |
| FromJSONKey TxIn | |
Defined in Cardano.Api.TxBody | |
| ToJSONKey TxIn | |
Defined in Cardano.Api.TxBody | |
Instances
| Enum TxIx | |
| Eq TxIx | |
| Ord TxIx | |
| Show TxIx | |
| ToJSON TxIx | |
Defined in Cardano.Api.TxBody Methods toEncoding :: TxIx -> Encoding # toJSONList :: [TxIx] -> Value # toEncodingList :: [TxIx] -> Encoding # | |
| FromJSON TxIx | |
Defined in Cardano.Api.TxBody | |
data TxMetadataSupportedInEra era where #
Constructors
Instances
| Eq (TxMetadataSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: TxMetadataSupportedInEra era -> TxMetadataSupportedInEra era -> Bool # (/=) :: TxMetadataSupportedInEra era -> TxMetadataSupportedInEra era -> Bool # | |
| Show (TxMetadataSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> TxMetadataSupportedInEra era -> ShowS # show :: TxMetadataSupportedInEra era -> String # showList :: [TxMetadataSupportedInEra era] -> ShowS # | |
data TxOutValue era where #
Constructors
| TxOutAdaOnly :: forall era. OnlyAdaSupportedInEra era -> Lovelace -> TxOutValue era | |
| TxOutValue :: forall era. MultiAssetSupportedInEra era -> Value -> TxOutValue era |
Instances
data TxScriptValiditySupportedInEra era where #
Instances
| Eq (TxScriptValiditySupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: TxScriptValiditySupportedInEra era -> TxScriptValiditySupportedInEra era -> Bool # (/=) :: TxScriptValiditySupportedInEra era -> TxScriptValiditySupportedInEra era -> Bool # | |
| Show (TxScriptValiditySupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> TxScriptValiditySupportedInEra era -> ShowS # show :: TxScriptValiditySupportedInEra era -> String # showList :: [TxScriptValiditySupportedInEra era] -> ShowS # | |
data TxUpdateProposal era where #
Constructors
| TxUpdateProposalNone :: forall era. TxUpdateProposal era | |
| TxUpdateProposal :: forall era. UpdateProposalSupportedInEra era -> UpdateProposal -> TxUpdateProposal era |
Instances
| Eq (TxUpdateProposal era) | |
Defined in Cardano.Api.TxBody Methods (==) :: TxUpdateProposal era -> TxUpdateProposal era -> Bool # (/=) :: TxUpdateProposal era -> TxUpdateProposal era -> Bool # | |
| Show (TxUpdateProposal era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> TxUpdateProposal era -> ShowS # show :: TxUpdateProposal era -> String # showList :: [TxUpdateProposal era] -> ShowS # | |
data TxValidityLowerBound era where #
Constructors
| TxValidityNoLowerBound :: forall era. TxValidityLowerBound era | |
| TxValidityLowerBound :: forall era. ValidityLowerBoundSupportedInEra era -> SlotNo -> TxValidityLowerBound era |
Instances
| Eq (TxValidityLowerBound era) | |
Defined in Cardano.Api.TxBody Methods (==) :: TxValidityLowerBound era -> TxValidityLowerBound era -> Bool # (/=) :: TxValidityLowerBound era -> TxValidityLowerBound era -> Bool # | |
| Show (TxValidityLowerBound era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> TxValidityLowerBound era -> ShowS # show :: TxValidityLowerBound era -> String # showList :: [TxValidityLowerBound era] -> ShowS # | |
data TxValidityUpperBound era where #
Constructors
| TxValidityNoUpperBound :: forall era. ValidityNoUpperBoundSupportedInEra era -> TxValidityUpperBound era | |
| TxValidityUpperBound :: forall era. ValidityUpperBoundSupportedInEra era -> SlotNo -> TxValidityUpperBound era |
Instances
| Eq (TxValidityUpperBound era) | |
Defined in Cardano.Api.TxBody Methods (==) :: TxValidityUpperBound era -> TxValidityUpperBound era -> Bool # (/=) :: TxValidityUpperBound era -> TxValidityUpperBound era -> Bool # | |
| Show (TxValidityUpperBound era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> TxValidityUpperBound era -> ShowS # show :: TxValidityUpperBound era -> String # showList :: [TxValidityUpperBound era] -> ShowS # | |
data TxWithdrawals build era where #
Constructors
| TxWithdrawalsNone :: forall build era. TxWithdrawals build era | |
| TxWithdrawals :: forall era build. WithdrawalsSupportedInEra era -> [(StakeAddress, Lovelace, BuildTxWith build (Witness WitCtxStake era))] -> TxWithdrawals build era |
Instances
| Eq (TxWithdrawals build era) | |
Defined in Cardano.Api.TxBody Methods (==) :: TxWithdrawals build era -> TxWithdrawals build era -> Bool # (/=) :: TxWithdrawals build era -> TxWithdrawals build era -> Bool # | |
| Show (TxWithdrawals build era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> TxWithdrawals build era -> ShowS # show :: TxWithdrawals build era -> String # showList :: [TxWithdrawals build era] -> ShowS # | |
data UpdateProposalSupportedInEra era where #
Constructors
Instances
| Eq (UpdateProposalSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: UpdateProposalSupportedInEra era -> UpdateProposalSupportedInEra era -> Bool # (/=) :: UpdateProposalSupportedInEra era -> UpdateProposalSupportedInEra era -> Bool # | |
| Show (UpdateProposalSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> UpdateProposalSupportedInEra era -> ShowS # show :: UpdateProposalSupportedInEra era -> String # showList :: [UpdateProposalSupportedInEra era] -> ShowS # | |
data ValidityLowerBoundSupportedInEra era where #
Constructors
Instances
| Eq (ValidityLowerBoundSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: ValidityLowerBoundSupportedInEra era -> ValidityLowerBoundSupportedInEra era -> Bool # (/=) :: ValidityLowerBoundSupportedInEra era -> ValidityLowerBoundSupportedInEra era -> Bool # | |
| Show (ValidityLowerBoundSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> ValidityLowerBoundSupportedInEra era -> ShowS # show :: ValidityLowerBoundSupportedInEra era -> String # showList :: [ValidityLowerBoundSupportedInEra era] -> ShowS # | |
data ValidityNoUpperBoundSupportedInEra era where #
Constructors
Instances
| Eq (ValidityNoUpperBoundSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: ValidityNoUpperBoundSupportedInEra era -> ValidityNoUpperBoundSupportedInEra era -> Bool # (/=) :: ValidityNoUpperBoundSupportedInEra era -> ValidityNoUpperBoundSupportedInEra era -> Bool # | |
| Show (ValidityNoUpperBoundSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> ValidityNoUpperBoundSupportedInEra era -> ShowS # show :: ValidityNoUpperBoundSupportedInEra era -> String # showList :: [ValidityNoUpperBoundSupportedInEra era] -> ShowS # | |
data ValidityUpperBoundSupportedInEra era where #
Constructors
Instances
| Eq (ValidityUpperBoundSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: ValidityUpperBoundSupportedInEra era -> ValidityUpperBoundSupportedInEra era -> Bool # (/=) :: ValidityUpperBoundSupportedInEra era -> ValidityUpperBoundSupportedInEra era -> Bool # | |
| Show (ValidityUpperBoundSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> ValidityUpperBoundSupportedInEra era -> ShowS # show :: ValidityUpperBoundSupportedInEra era -> String # showList :: [ValidityUpperBoundSupportedInEra era] -> ShowS # | |
data WithdrawalsSupportedInEra era where #
Constructors
Instances
| Eq (WithdrawalsSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods (==) :: WithdrawalsSupportedInEra era -> WithdrawalsSupportedInEra era -> Bool # (/=) :: WithdrawalsSupportedInEra era -> WithdrawalsSupportedInEra era -> Bool # | |
| Show (WithdrawalsSupportedInEra era) | |
Defined in Cardano.Api.TxBody Methods showsPrec :: Int -> WithdrawalsSupportedInEra era -> ShowS # show :: WithdrawalsSupportedInEra era -> String # showList :: [WithdrawalsSupportedInEra era] -> ShowS # | |
data TxValidationErrorInMode mode where #
Constructors
| TxValidationErrorInMode :: forall era mode. TxValidationError era -> EraInMode era mode -> TxValidationErrorInMode mode | |
| TxValidationEraMismatch :: forall mode. EraMismatch -> TxValidationErrorInMode mode |
Instances
| Show (TxValidationErrorInMode mode) | |
Defined in Cardano.Api.TxInMode Methods showsPrec :: Int -> TxValidationErrorInMode mode -> ShowS # show :: TxValidationErrorInMode mode -> String # showList :: [TxValidationErrorInMode mode] -> ShowS # | |
newtype TxMetadata #
Constructors
| TxMetadata (Map Word64 TxMetadataValue) |
Instances
| Eq TxMetadata | |
Defined in Cardano.Api.TxMetadata | |
| Show TxMetadata | |
Defined in Cardano.Api.TxMetadata Methods showsPrec :: Int -> TxMetadata -> ShowS # show :: TxMetadata -> String # showList :: [TxMetadata] -> ShowS # | |
| Semigroup TxMetadata | |
Defined in Cardano.Api.TxMetadata Methods (<>) :: TxMetadata -> TxMetadata -> TxMetadata # sconcat :: NonEmpty TxMetadata -> TxMetadata # stimes :: Integral b => b -> TxMetadata -> TxMetadata # | |
| Monoid TxMetadata | |
Defined in Cardano.Api.TxMetadata Methods mempty :: TxMetadata # mappend :: TxMetadata -> TxMetadata -> TxMetadata # mconcat :: [TxMetadata] -> TxMetadata # | |
| HasTypeProxy TxMetadata | |
| SerialiseAsCBOR TxMetadata | |
Defined in Cardano.Api.TxMetadata Methods serialiseToCBOR :: TxMetadata -> ByteString # deserialiseFromCBOR :: AsType TxMetadata -> ByteString -> Either DecoderError TxMetadata # | |
| data AsType TxMetadata | |
Defined in Cardano.Api.TxMetadata | |
data TxMetadataJsonError #
Constructors
| TxMetadataJsonToplevelNotMap | |
| TxMetadataJsonToplevelBadKey !Text | |
| TxMetadataJsonSchemaError !Word64 !Value !TxMetadataJsonSchemaError | |
| TxMetadataRangeError !Word64 !Value !TxMetadataRangeError |
Instances
| Eq TxMetadataJsonError | |
Defined in Cardano.Api.TxMetadata Methods (==) :: TxMetadataJsonError -> TxMetadataJsonError -> Bool # (/=) :: TxMetadataJsonError -> TxMetadataJsonError -> Bool # | |
| Show TxMetadataJsonError | |
Defined in Cardano.Api.TxMetadata Methods showsPrec :: Int -> TxMetadataJsonError -> ShowS # show :: TxMetadataJsonError -> String # showList :: [TxMetadataJsonError] -> ShowS # | |
| Error TxMetadataJsonError | |
Defined in Cardano.Api.TxMetadata Methods | |
data TxMetadataJsonSchema #
Constructors
| TxMetadataJsonNoSchema | |
| TxMetadataJsonDetailedSchema |
Instances
| Eq TxMetadataJsonSchema | |
Defined in Cardano.Api.TxMetadata Methods (==) :: TxMetadataJsonSchema -> TxMetadataJsonSchema -> Bool # (/=) :: TxMetadataJsonSchema -> TxMetadataJsonSchema -> Bool # | |
| Show TxMetadataJsonSchema | |
Defined in Cardano.Api.TxMetadata Methods showsPrec :: Int -> TxMetadataJsonSchema -> ShowS # show :: TxMetadataJsonSchema -> String # showList :: [TxMetadataJsonSchema] -> ShowS # | |
data TxMetadataJsonSchemaError #
Constructors
Instances
| Eq TxMetadataJsonSchemaError | |
Defined in Cardano.Api.TxMetadata Methods (==) :: TxMetadataJsonSchemaError -> TxMetadataJsonSchemaError -> Bool # (/=) :: TxMetadataJsonSchemaError -> TxMetadataJsonSchemaError -> Bool # | |
| Show TxMetadataJsonSchemaError | |
Defined in Cardano.Api.TxMetadata Methods showsPrec :: Int -> TxMetadataJsonSchemaError -> ShowS # show :: TxMetadataJsonSchemaError -> String # showList :: [TxMetadataJsonSchemaError] -> ShowS # | |
| Error TxMetadataJsonSchemaError | |
Defined in Cardano.Api.TxMetadata Methods | |
data TxMetadataRangeError #
Constructors
| TxMetadataNumberOutOfRange !Integer | |
| TxMetadataTextTooLong !Int | |
| TxMetadataBytesTooLong !Int |
Instances
| Eq TxMetadataRangeError | |
Defined in Cardano.Api.TxMetadata Methods (==) :: TxMetadataRangeError -> TxMetadataRangeError -> Bool # (/=) :: TxMetadataRangeError -> TxMetadataRangeError -> Bool # | |
| Show TxMetadataRangeError | |
Defined in Cardano.Api.TxMetadata Methods showsPrec :: Int -> TxMetadataRangeError -> ShowS # show :: TxMetadataRangeError -> String # showList :: [TxMetadataRangeError] -> ShowS # | |
| Error TxMetadataRangeError | |
Defined in Cardano.Api.TxMetadata Methods | |
data TxMetadataValue #
Constructors
| TxMetaMap [(TxMetadataValue, TxMetadataValue)] | |
| TxMetaList [TxMetadataValue] | |
| TxMetaNumber Integer | |
| TxMetaBytes ByteString | |
| TxMetaText Text |
Instances
| Eq TxMetadataValue | |
Defined in Cardano.Api.TxMetadata Methods (==) :: TxMetadataValue -> TxMetadataValue -> Bool # (/=) :: TxMetadataValue -> TxMetadataValue -> Bool # | |
| Ord TxMetadataValue | |
Defined in Cardano.Api.TxMetadata Methods compare :: TxMetadataValue -> TxMetadataValue -> Ordering # (<) :: TxMetadataValue -> TxMetadataValue -> Bool # (<=) :: TxMetadataValue -> TxMetadataValue -> Bool # (>) :: TxMetadataValue -> TxMetadataValue -> Bool # (>=) :: TxMetadataValue -> TxMetadataValue -> Bool # max :: TxMetadataValue -> TxMetadataValue -> TxMetadataValue # min :: TxMetadataValue -> TxMetadataValue -> TxMetadataValue # | |
| Show TxMetadataValue | |
Defined in Cardano.Api.TxMetadata Methods showsPrec :: Int -> TxMetadataValue -> ShowS # show :: TxMetadataValue -> String # showList :: [TxMetadataValue] -> ShowS # | |
Constructors
| AssetName ByteString |
Instances
| Eq AssetName | |
| Ord AssetName | |
| Show AssetName | |
| IsString AssetName | |
Defined in Cardano.Api.Value Methods fromString :: String -> AssetName # | |
| ToJSON AssetName | |
Defined in Cardano.Api.Value Methods toJSON :: AssetName -> Value # toEncoding :: AssetName -> Encoding # toJSONList :: [AssetName] -> Value # toEncodingList :: [AssetName] -> Encoding # | |
| FromJSON AssetName | |
Defined in Cardano.Api.Value | |
| HasTypeProxy AssetName | |
Defined in Cardano.Api.Value | |
| SerialiseAsRawBytes AssetName | |
Defined in Cardano.Api.Value Methods serialiseToRawBytes :: AssetName -> ByteString # deserialiseFromRawBytes :: AsType AssetName -> ByteString -> Maybe AssetName # | |
| FromJSONKey AssetName | |
Defined in Cardano.Api.Value Methods fromJSONKey :: FromJSONKeyFunction AssetName fromJSONKeyList :: FromJSONKeyFunction [AssetName] | |
| ToJSONKey AssetName | |
Defined in Cardano.Api.Value | |
| data AsType AssetName | |
Defined in Cardano.Api.Value | |
Instances
| Enum Lovelace | |
Defined in Cardano.Api.Value | |
| Eq Lovelace | |
| Num Lovelace | |
| Ord Lovelace | |
Defined in Cardano.Api.Value | |
| Show Lovelace | |
| Semigroup Lovelace | |
| Monoid Lovelace | |
| ToJSON Lovelace | |
Defined in Cardano.Api.Value Methods toEncoding :: Lovelace -> Encoding # toJSONList :: [Lovelace] -> Value # toEncodingList :: [Lovelace] -> Encoding # | |
| FromJSON Lovelace | |
Defined in Cardano.Api.Value | |
| ToCBOR Lovelace | |
| FromCBOR Lovelace | |
Constructors
| PolicyId ScriptHash |
Instances
| Eq PolicyId | |
| Ord PolicyId | |
Defined in Cardano.Api.Value | |
| Show PolicyId | |
| IsString PolicyId | |
Defined in Cardano.Api.Value Methods fromString :: String -> PolicyId # | |
| ToJSON PolicyId | |
Defined in Cardano.Api.Value Methods toEncoding :: PolicyId -> Encoding # toJSONList :: [PolicyId] -> Value # toEncodingList :: [PolicyId] -> Encoding # | |
| FromJSON PolicyId | |
Defined in Cardano.Api.Value | |
| HasTypeProxy PolicyId | |
Defined in Cardano.Api.Value | |
| SerialiseAsRawBytes PolicyId | |
Defined in Cardano.Api.Value Methods serialiseToRawBytes :: PolicyId -> ByteString # deserialiseFromRawBytes :: AsType PolicyId -> ByteString -> Maybe PolicyId # | |
| data AsType PolicyId | |
Defined in Cardano.Api.Value | |
Instances
| Eq Quantity | |
| Num Quantity | |
| Ord Quantity | |
Defined in Cardano.Api.Value | |
| Show Quantity | |
| Semigroup Quantity | |
| Monoid Quantity | |
| ToJSON Quantity | |
Defined in Cardano.Api.Value Methods toEncoding :: Quantity -> Encoding # toJSONList :: [Quantity] -> Value # toEncodingList :: [Quantity] -> Encoding # | |
| FromJSON Quantity | |
Defined in Cardano.Api.Value | |
Instances
| Eq Value | |
| Show Value | |
| Semigroup Value | |
| Monoid Value | |
| ToJSON Value | |
Defined in Cardano.Api.Value Methods toEncoding :: Value -> Encoding # toJSONList :: [Value] -> Value0 # toEncodingList :: [Value] -> Encoding # | |
| FromJSON Value | |
Defined in Cardano.Api.Value | |
data ValueNestedBundle #
Constructors
| ValueNestedBundleAda Quantity | |
| ValueNestedBundle PolicyId (Map AssetName Quantity) |
Instances
| Eq ValueNestedBundle | |
Defined in Cardano.Api.Value Methods (==) :: ValueNestedBundle -> ValueNestedBundle -> Bool # (/=) :: ValueNestedBundle -> ValueNestedBundle -> Bool # | |
| Ord ValueNestedBundle | |
Defined in Cardano.Api.Value Methods compare :: ValueNestedBundle -> ValueNestedBundle -> Ordering # (<) :: ValueNestedBundle -> ValueNestedBundle -> Bool # (<=) :: ValueNestedBundle -> ValueNestedBundle -> Bool # (>) :: ValueNestedBundle -> ValueNestedBundle -> Bool # (>=) :: ValueNestedBundle -> ValueNestedBundle -> Bool # max :: ValueNestedBundle -> ValueNestedBundle -> ValueNestedBundle # min :: ValueNestedBundle -> ValueNestedBundle -> ValueNestedBundle # | |
| Show ValueNestedBundle | |
Defined in Cardano.Api.Value Methods showsPrec :: Int -> ValueNestedBundle -> ShowS # show :: ValueNestedBundle -> String # showList :: [ValueNestedBundle] -> ShowS # | |
newtype ValueNestedRep #
Constructors
| ValueNestedRep [ValueNestedBundle] |
Instances
newtype EpochSlots #
Constructors
| EpochSlots | |
Fields | |
Instances
Instances
| Bounded BlockNo | |
| Enum BlockNo | |
| Eq BlockNo | |
| Num BlockNo | |
| Ord BlockNo | |
Defined in Cardano.Slotting.Block | |
| Show BlockNo | |
| Generic BlockNo | |
| NFData BlockNo | |
Defined in Cardano.Slotting.Block | |
| ToCBOR BlockNo | |
| FromCBOR BlockNo | |
| NoThunks BlockNo | |
| Serialise BlockNo | |
Defined in Cardano.Slotting.Block | |
| type Rep BlockNo | |
Defined in Cardano.Slotting.Block type Rep BlockNo = D1 ('MetaData "BlockNo" "Cardano.Slotting.Block" "cardano-slotting-0.1.0.0-19405670c32517839767e067814c788c6c8387f26a51704a53ebb6cb5fa16989" 'True) (C1 ('MetaCons "BlockNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unBlockNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) | |
Instances
| Enum EpochNo | |
| Eq EpochNo | |
| Num EpochNo | |
| Ord EpochNo | |
Defined in Cardano.Slotting.Slot | |
| Show EpochNo | |
| Generic EpochNo | |
| ToJSON EpochNo | |
Defined in Cardano.Slotting.Slot Methods toEncoding :: EpochNo -> Encoding # toJSONList :: [EpochNo] -> Value # toEncodingList :: [EpochNo] -> Encoding # | |
| FromJSON EpochNo | |
Defined in Cardano.Slotting.Slot | |
| ToCBOR EpochNo | |
| FromCBOR EpochNo | |
| NoThunks EpochNo | |
| Serialise EpochNo | |
Defined in Cardano.Slotting.Slot | |
| type Rep EpochNo | |
Defined in Cardano.Slotting.Slot type Rep EpochNo = D1 ('MetaData "EpochNo" "Cardano.Slotting.Slot" "cardano-slotting-0.1.0.0-19405670c32517839767e067814c788c6c8387f26a51704a53ebb6cb5fa16989" 'True) (C1 ('MetaCons "EpochNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unEpochNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) | |
Instances
| Bounded SlotNo | |
| Enum SlotNo | |
Defined in Cardano.Slotting.Slot | |
| Eq SlotNo | |
| Num SlotNo | |
| Ord SlotNo | |
| Show SlotNo | |
| Generic SlotNo | |
| NFData SlotNo | |
Defined in Cardano.Slotting.Slot | |
| ToJSON SlotNo | |
Defined in Cardano.Slotting.Slot Methods toEncoding :: SlotNo -> Encoding # toJSONList :: [SlotNo] -> Value # toEncodingList :: [SlotNo] -> Encoding # | |
| FromJSON SlotNo | |
Defined in Cardano.Slotting.Slot | |
| ToCBOR SlotNo | |
| FromCBOR SlotNo | |
| NoThunks SlotNo | |
| Serialise SlotNo | |
Defined in Cardano.Slotting.Slot | |
| HasField "ttl" (TxBody era) SlotNo | |
Defined in Cardano.Ledger.Shelley.TxBody | |
| HasHeader block => Anchorable (WithOrigin SlotNo) (Anchor block) block | |
Defined in Ouroboros.Network.AnchoredFragment Methods asAnchor :: block -> Anchor block getAnchorMeasure :: Proxy block -> Anchor block -> WithOrigin SlotNo | |
| Anchorable (WithOrigin SlotNo) (HeaderState blk) (HeaderState blk) | |
Defined in Ouroboros.Consensus.HeaderValidation Methods asAnchor :: HeaderState blk -> HeaderState blk getAnchorMeasure :: Proxy (HeaderState blk) -> HeaderState blk -> WithOrigin SlotNo | |
| GetTip l => Anchorable (WithOrigin SlotNo) (Checkpoint l) (Checkpoint l) | |
Defined in Ouroboros.Consensus.Storage.LedgerDB.InMemory Methods asAnchor :: Checkpoint l -> Checkpoint l getAnchorMeasure :: Proxy (Checkpoint l) -> Checkpoint l -> WithOrigin SlotNo | |
| Embed (StakeCreds era) (Map (Credential 'Staking era) SlotNo) | |
| HasExp (StakeCreds era) (Map (Credential 'Staking era) SlotNo) | |
Defined in Cardano.Ledger.Shelley.TxBody | |
| type Rep SlotNo | |
Defined in Cardano.Slotting.Slot type Rep SlotNo = D1 ('MetaData "SlotNo" "Cardano.Slotting.Slot" "cardano-slotting-0.1.0.0-19405670c32517839767e067814c788c6c8387f26a51704a53ebb6cb5fa16989" 'True) (C1 ('MetaCons "SlotNo" 'PrefixI 'True) (S1 ('MetaSel ('Just "unSlotNo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64))) | |
newtype NetworkMagic #
Constructors
| NetworkMagic | |
Fields | |
Instances
| Eq NetworkMagic | |
Defined in Ouroboros.Network.Magic | |
| Show NetworkMagic | |
Defined in Ouroboros.Network.Magic Methods showsPrec :: Int -> NetworkMagic -> ShowS # show :: NetworkMagic -> String # showList :: [NetworkMagic] -> ShowS # | |
| Generic NetworkMagic | |
Defined in Ouroboros.Network.Magic Associated Types type Rep NetworkMagic :: Type -> Type # | |
| NoThunks NetworkMagic | |
Defined in Ouroboros.Network.Magic Methods noThunks :: Context -> NetworkMagic -> IO (Maybe ThunkInfo) wNoThunks :: Context -> NetworkMagic -> IO (Maybe ThunkInfo) showTypeOf :: Proxy NetworkMagic -> String | |
| type Rep NetworkMagic | |
Defined in Ouroboros.Network.Magic type Rep NetworkMagic = D1 ('MetaData "NetworkMagic" "Ouroboros.Network.Magic" "ouroboros-network-0.1.0.0-1433096113243e1555166957d744d15798c8ccb733ee496a2c9a2621ffa7c11f" 'True) (C1 ('MetaCons "NetworkMagic" 'PrefixI 'True) (S1 ('MetaSel ('Just "unNetworkMagic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32))) | |
data NodeToClientVersion #
Constructors
| NodeToClientV_1 | |
| NodeToClientV_2 | |
| NodeToClientV_3 | |
| NodeToClientV_4 | |
| NodeToClientV_5 | |
| NodeToClientV_6 | |
| NodeToClientV_7 | |
| NodeToClientV_8 | |
| NodeToClientV_9 | |
| NodeToClientV_10 | |
| NodeToClientV_11 | |
| NodeToClientV_12 |
Instances
newtype ChainSyncClient header point tip (m :: Type -> Type) a #
Constructors
| ChainSyncClient | |
Fields
| |
newtype ChainSyncClientPipelined header point tip (m :: Type -> Type) a #
Constructors
| ChainSyncClientPipelined | |
Fields
| |
newtype LocalStateQueryClient block point (query :: Type -> Type) (m :: Type -> Type) a #
Constructors
| LocalStateQueryClient | |
Fields
| |
data LocalTxSubmissionClient tx reject (m :: Type -> Type) a #
data ShelleyGenesis era #
Constructors
| ShelleyGenesis | |
Fields
| |
Instances
type family ShelleyLedgerEra era where ... #
Equations
| ShelleyLedgerEra ShelleyEra = StandardShelley | |
| ShelleyLedgerEra AllegraEra = StandardAllegra | |
| ShelleyLedgerEra MaryEra = StandardMary | |
| ShelleyLedgerEra AlonzoEra = StandardAlonzo |
type PoolId = Hash StakePoolKey #
data ProtocolParameters #
Constructors
Instances
fromPlutusData :: Data -> ScriptData #
toPlutusData :: ScriptData -> Data #